Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support @specifiedBy directive in SDL export #1041

Merged

Conversation

k-kinzal
Copy link
Contributor

https://spec.graphql.org/draft/#sec--specifiedBy
support @specifiedBy directive in SDL export.

example:

pub struct MyScalar(i64);
#[Scalar(specified_by_url = "https://example.com")]
impl ScalarType for MyScalar {
  ...
}
scalar MyScalar @specifiedBy(url: "https://example.com")

@sunli829 sunli829 merged commit 21c6129 into async-graphql:master Aug 29, 2022
@sunli829
Copy link
Collaborator

Thanks! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants