Domo.Changeset.validate_type_fields

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

validate_type_fields(changeset, fields, opts \\ [])

View Source

Similar to validate_type/2, but validates only given fields.

Examples

%User{}
|> cast(%{name: "Hello world", email: "some@address", age: 21}, [:name, :email, :age])
|> validate_type_fields([:name, :email])