Domo.Changeset.validate_schemaless_type

You're seeing just the function validate_schemaless_type, go back to Domo.Changeset module for more information.
Link to this function

validate_schemaless_type(changeset, struct, opts \\ [])

View Source

Validates schemaless changeset changes to conform to the schema's t() type and fulfill preconditions.

Similar to validate_type/2.

struct is a module name providing t() type and preconditions for changes validation.

Examples

{%{}, %{first_name: :string, last_name: :string, age: :integer}}
|> cast(%{last_name: "Doe", age: 21}, [:last_name, :age])
|> validate_schemaless_type(User)