View Source AshGraphql.Resource.Info (ash_graphql v1.0.0-rc.5)

Introspection helpers for AshGraphql.Resource

Summary

Functions

Graphql argument name overrides for the resource

Graphql 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

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_names(resource)

View Source

Graphql argument name overrides for the resource

Link to this function

attribute_input_types(resource)

View Source

Graphql 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)

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

The mutations exposed for the resource

Link to this function

primary_key_delimiter(resource)

View Source

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

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