[StrawberryShake] Excluding GraphQL Queries from Generator #6301
Unanswered
DominicMaas
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently upgraded from StrawberryShake 12.18 to 13.2.1 (replaced
StrawberryShake.CodeGeneration.CSharp.Analyzers
andStrawberryShake.Transport.Http
withStrawberryShake.Maui
on my WinUI project)Previously I could exclude queries from being generated using the following:
This was done due to platform specific queries that should be generated as the same object / query, but with different fields depending on the platform.
This no longer works after upgrading the library. Is there a supported way of doing this still?
The generator complains about duplicate queries, as it's generating both platform queries (which conflict with each other).
There are likely better ways of doing this, but looking for minimal effort in upgrading the project.
Beta Was this translation helpful? Give feedback.
All reactions