Skip to content

Make graphql_scalar a proc macro #610

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

Merged
merged 3 commits into from
Apr 20, 2020

Conversation

andrisak
Copy link
Contributor

@andrisak andrisak commented Apr 9, 2020

Draft implementation of a graphql_scalar proc macro. There are many similarities with the corresponding derive macro and they can probably share a lot of the codegen implementation.

Copy link
Member

@LegNeato LegNeato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great start, thank you so much for your hard work!

@andrisak andrisak changed the title [WIP] Make graphql_scalar a proc macro #571 [WIP] Make graphql_scalar a proc macro Apr 12, 2020
Copy link
Member

@LegNeato LegNeato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thank you so much! I see it still says WIP, is there more to do here or are we good to merge?

@andrisak andrisak changed the title [WIP] Make graphql_scalar a proc macro Make graphql_scalar a proc macro Apr 20, 2020
@andrisak
Copy link
Contributor Author

andrisak commented Apr 20, 2020

No, I thinks it's ready to merge now.

Fixes #571

@LegNeato LegNeato merged commit 2ba9f71 into graphql-rust:master Apr 20, 2020
@LegNeato
Copy link
Member

Thank you so much for the high-quality PR! This makes Juniper much easier to use and much more idiomatic 🍻

@andrisak andrisak deleted the graphql_scalar_proc_macro branch April 24, 2020 21:00
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.

2 participants