-
Notifications
You must be signed in to change notification settings - Fork 195
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
Update 99designs/[email protected] and vektah/gqlparser/[email protected] #609
Conversation
…parser/[email protected] Signed-off-by: Steve Coffman <[email protected]>
Signed-off-by: Steve Coffman <[email protected]>
bb91180
to
ad5cd7e
Compare
Signed-off-by: Steve Coffman <[email protected]>
40ff9de
to
a634de9
Compare
Hmmm, I'm not sure if my local environment is entirely what is expected. I appear to be finding the required local setup by process of elimination. Sorry for all the git commit amend and force pushing! I'll try to instead to do this step by step and record what I'm doing in case it is helpful to some later person (e.g. future me). So far:
This still results in a difference because protoc v3.19.4 is not the same as protoc v3.4.0 So I downloaded and decompressed protoc v3.19.4, prefixed my PATH environment variable with that this still results in one local test failing:
|
Signed-off-by: Steve Coffman <[email protected]>
Signed-off-by: Steve Coffman <[email protected]>
Ok, I am getting go generate failures when I run nektos/act to simulate the remote GitHub action failures:
This provides this minor output tweak:
|
Signed-off-by: Steve Coffman <[email protected]>
Ok, moved to gqlgen v0.17.62 to make any/interface consistent |
Signed-off-by: Steve Coffman <[email protected]>
e140af1
to
af62098
Compare
Signed-off-by: Steve Coffman <[email protected]>
ecb290d
to
7ce01a6
Compare
Signed-off-by: Steve Coffman <[email protected]>
Signed-off-by: Steve Coffman <[email protected]>
Running The other discrepancy is that my locally running
|
Signed-off-by: Steve Coffman <[email protected]>
Signed-off-by: Steve Coffman <[email protected]>
Signed-off-by: Steve Coffman <[email protected]>
Signed-off-by: Steve Coffman <[email protected]>
So there was a slight discrepancy in the Now my |
Thanks for your contribution, @StevenACoffman 🙏🏻 |
@StevenACoffman, adding an additional thanks for helping with this. I really appreciate all your work on gqlgen! |
@@ -9,6 +9,7 @@ schema: | |||
|
|||
resolver: | |||
layout: follow-schema | |||
preserve_resolver: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we want this to be true or false?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I picked true to be safe, because it depends. If there is customized code in those resolvers, then we want to preserve them (true), so we do not want to overwrite them. If there is nothing customized, then I guess it's harmless to preserve them, but we could set it to false.
I took this to be more of an example, as you people aren't actively changing these (or the schema) on a regular basis.
@michaelcaulley Hey, so we should probably bump gqlgen again after this, or else swap the models to use |
Update gqlgen and gqlparser
This updates gqlgen and gqlparser to the latest versions github.com/99designs/[email protected] and github.com/vektah/gqlparser/[email protected]
In https://github.com/ent/contrib/pull/607/files github.com/99designs/gqlgen was moved from v0.17.48 to v0.17.51.
I see that in that PR it has a comment that says that gqlgen version v0.17.52 has an issue with ent field collection. It blames commit: 99designs/gqlgen@f81239e
The blamed gqlgen commit was merged 99designs/gqlgen#3287
This was to fix 99designs/gqlgen#3285 by reverting 99designs/gqlgen#3203
Currently gqlgen v0.17.61 is the latest. It is not clear to me if there remains any problem with gqlgen and ent field collection.
Please point me to an open issue in gqlgen (or PR) describing (or fixing) the ent field collection problem.