manifold-systems / manifold

Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
http://manifold.systems/
Apache License 2.0
2.43k stars 125 forks source link

Versions past 2021.1.27 #315

Closed djchapm closed 3 years ago

djchapm commented 3 years ago

Hey - Any updates we need to know about past 2021.1.27? I checked for release notes etc.... When I upgrade I'm seeing compile issues related to package includes. i.e. from Intellij (using 2021.1.30 manifold plugin), I see the error:

java: Validation error of type FieldUndefined: GraphQL field 'match' is not defined in the type 'Query' from scope '_default_scope'

Same for remaining versions 29 and 30. 27 and previous work fine.

The type it's referring to is declared in another gql file in the same directory.

Thanks, Dan C.

rsmckinney commented 3 years ago

Starting with release 2021.1.28 manifold-graphql provides support for multiple schemas. That error is indicative of your project having multiple graphql schemas present, but not defining .graphqlconfig files to support that. In this case the error is saying it can't find the 'match' field because it is looking in the wrong schema. It is likely this error was going undetected in releases prior to 2021.1.28. Please let me know if I can provide further assistance.

Sorry about the lack of release notes on the release tags, change notes are available in the IJ plugin releases.

rsmckinney commented 3 years ago

@djchapm have you resolved this issue? Or is there still a problem?

djchapm commented 3 years ago

Yep - your link covers it - we have yet to update but created ticket for it. Thanks!