Skip to content

Implement @operationFields decorator - #4

Merged
AngelEVargas merged 2 commits into
feature/graphqlfrom
operation-fields-decorator
Mar 19, 2025
Merged

Implement @operationFields decorator#4
AngelEVargas merged 2 commits into
feature/graphqlfrom
operation-fields-decorator

Conversation

@steverice

Copy link
Copy Markdown

The @operationFields decorator is used to specify one or more operations that should be placed onto a GraphQL type as fields with arguments.

This is our solution for representing GraphQL field arguments in TypeSpec, as TypeSpec does not support arguments on model properties.

The `@operationFields` decorator is used to specify one or more operations that should be placed onto a GraphQL type as fields with arguments.

This is our solution for representing [GraphQL field arguments](https://spec.graphql.org/October2021/#sec-Field-Arguments) in TypeSpec, as TypeSpec does not support arguments on model properties.
@steverice
steverice force-pushed the operation-fields-decorator branch from 7da971e to 9279208 Compare November 26, 2024 19:53
@steverice
steverice changed the base branch from schema-decorator to feature/graphql November 26, 2024 19:53
@AngelEVargas
AngelEVargas merged commit 6553a15 into feature/graphql Mar 19, 2025
@github-project-automation github-project-automation Bot moved this from In Review to Done in GraphQL Emitter Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants