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

Simplify querygen output for v3 #691

Merged
merged 3 commits into from
Jun 4, 2023
Merged

Simplify querygen output for v3 #691

merged 3 commits into from
Jun 4, 2023

Conversation

obmarg
Copy link
Owner

@obmarg obmarg commented Jun 3, 2023

Why are we making this change?

As part of v3 I introduced "registered schemas" - this simplifies the parameters we need to pass into derives quite a lot, and removes most of the need for schema_for_derives.

What effects does this change have?

Updates querygen with these changes in mind. I haven't exposed the ability to name a schema to the UI yet, but not sure how needed that is. Tracking that one in #690

I also started re-casing any types which weren't already being re-cased in querygen.

Fixes #671
Fixes #625

@obmarg obmarg enabled auto-merge (squash) June 3, 2023 15:55
@obmarg obmarg force-pushed the querygen-v3-schema-support branch 2 times, most recently from b81c379 to 913411b Compare June 3, 2023 16:19
@obmarg obmarg force-pushed the querygen-v3-schema-support branch from 913411b to d83dfbc Compare June 3, 2023 16:22
It doesn't support build.rs which makes it impossible to use schema
registration, which the generator now requires.

I think this also means we'll actually run the querygen-compile-run stuff,
which I thought we were doing before but I am no longer sure of.
@obmarg obmarg force-pushed the querygen-v3-schema-support branch from 5ddaeb1 to aad44b2 Compare June 4, 2023 13:44
@obmarg obmarg merged commit b31de17 into main Jun 4, 2023
@obmarg obmarg deleted the querygen-v3-schema-support branch June 4, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant