AshGraphql.Resource.Info (ash_graphql v0.22.1) View Source

Introspection helpers for AshGraphql.Resource

Link to this section 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 encode the primary key as a single id field when reading and getting

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

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

The field name to place the keyset of a result in

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

The graphql type of the resource

Link to this section 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

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

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.

The field name to place the keyset of a result in

Link to this function

managed_relationships(resource)

View Source

The managed_relationship configurations

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

The graphql type of the resource