Open seantleonard opened 1 year ago
I would love to see this, and the example given is a perfect scenario for what we are looking to achieve.
I would love to see this, and the example given is a perfect scenario for what we are looking to achieve.
Curious. What are you trying to achieve?
I would love to see this, and the example given is a perfect scenario for what we are looking to achieve.
Curious. What are you trying to achieve?
I'm returning a data set that I want to query from a stored proc, but also want to know some metadata that doesn't fit within the dataset. For example I want to select 25 items from something, but I also want to know the count of how many items exist in said table. Currently doing it by calling 2 stored procs from the same gql query, but would be nicer to have it all done within a single one, and get both results that I am looking for together.
Support surfacing any SP output parameters in a response for REST and GraphQL.
Initial work with the goal to support this occurred in #1440 and #1441.
Requests for this feature:
1841
1826
Quoting the text included in that issue from @falven
derlying name of the database entity." name: String) on OBJECT
"A directive to indicate the relationship between two tables" directive @relationship("The name of the GraphQL type the relationship targets" target: String "The relationship cardinality" cardinality: String) on FIELD_DEFINITION | INPUT_FIELD_DEFINITION
"A directive to indicate the primary key field of an item." directive @primaryKey("The underlying database type." databaseType: String) on FIELD_DEFINITION
"The default value to be used when creating an item." directive @defaultValue(value: DefaultValue) on FIELD_DEFINITION
"Indicates that a field is auto generated by the database." directive @autoGenerated on FIELD_DEFINITION