PhoenixApiToolkit.GenericRequestValidator.get_entity_fields
You're seeing just the function
get_entity_fields
, go back to PhoenixApiToolkit.GenericRequestValidator module for more information.
Specs
Get all the "non-meta" fields from a schema, that is, fields [:limit, :offset, :order_by, :lock_version]
are filtered out.
Examples
iex> resource_schema(%{first_name: :string}) |> get_entity_fields()
[:first_name, :id]