View Source AshGraphql.Resource.Info (ash_graphql v1.3.4)

Introspection helpers for AshGraphql.Resource

Summary

Functions

Graphql argument type overrides for the resource

Graphql argument name overrides for the resource

Graphql attribute input type overrides for the resource

Graphql type overrides for the resource

Wether or not to derive a filter input for the resource automatically

Wether or not to derive a sort input for the resource automatically

Wether or not to encode the primary key as a single id field when reading and getting

Graphql field name (attribute/relationship/calculation/arguments) overrides for the resource

May the specified field be filtered on?

Fields that may be filtered on

Wether or not an object should be generated, or if one with the type name for this resource should be used.

Fields to hide from the graphql domain

The field name to place the keyset of a result in

The managed_relationshi configuration for a given action/argument

The managed_relationship configurations

The mutations exposed for the resource

Graphql nullability overrides for the resource

Pagination configuration for list relationships

The delimiter for a resource with a composite primary key

The queries exposed for the resource

Which relationships should be included in the generated type

Wether or not a given field will be shown

Fields to show in the graphql domain

The graphql type of the resource

Functions

Link to this function

argument_input_types(resource)

View Source

Graphql argument type overrides for the resource

Link to this function

argument_names(resource)

View Source

Graphql argument name overrides for the resource

Link to this function

attribute_input_types(resource)

View Source

Graphql attribute input type overrides for the resource

Link to this function

attribute_types(resource)

View Source

Graphql type overrides for the resource

Link to this function

derive_filter?(resource)

View Source

Wether or not to derive a filter input for the resource automatically

Wether or not to derive a sort input for the resource automatically

Link to this function

encode_primary_key?(resource)

View Source

Wether or not to encode the primary key as a single id field when reading and getting

Graphql field name (attribute/relationship/calculation/arguments) overrides for the resource

Link to this function

filterable_field?(resource, field_name)

View Source

May the specified field be filtered on?

Link to this function

filterable_fields(resource)

View Source

Fields that may be filtered on

Link to this function

generate_object?(resource)

View Source

Wether or not an object should be generated, or if one with the type name for this resource should be used.

Fields to hide from the graphql domain

The field name to place the keyset of a result in

Link to this function

managed_relationship(resource, action, argument)

View Source

The managed_relationshi configuration for a given action/argument

Link to this function

managed_relationships(resource)

View Source

The managed_relationship configurations

Link to this function

managed_relationships_auto?(resource)

View Source
Link to this function

mutations(resource, domain_or_domains \\ [])

View Source

The mutations exposed for the resource

Link to this function

nullable_fields(resource)

View Source

Graphql nullability overrides for the resource

Link to this function

paginate_relationship_with(resource)

View Source

Pagination configuration for list relationships

Link to this function

primary_key_delimiter(resource)

View Source

The delimiter for a resource with a composite primary key

Link to this function

queries(resource, domain_or_domains \\ [])

View Source

The queries exposed for the resource

Which relationships should be included in the generated type

Link to this function

show_field?(resource, field)

View Source

Wether or not a given field will be shown

Fields to show in the graphql domain

The graphql type of the resource