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

Build configuration not working with a default application forge project #72

Open
Cortrah opened this issue Jan 2, 2023 · 11 comments
Open

Comments

@Cortrah
Copy link

Cortrah commented Jan 2, 2023

Heya, I'm trying to take an old grails 3 app using the graphql plugin and update it to a current app generated with the defaults (grails 5.2.5 web profile) of application forge without success.

Here is a link to the project with a single domain class
https://github.com/Cortrah/gql-plugin-test

The instructions say to add this to the depedencies
compile "org.grails.plugins:gorm-graphql-plugin:2.0.0"

Apparently changes in gradle seem to imply that this should now be
compileOnly "org.grails.plugins:gorm-graphql-plugin:2.0.0"

I've also tried this slightly later version without success
compileOnly "org.grails.plugins:gorm-graphql-plugin:2.0.2.BUILD-SNAPSHOT"

The basic web scaffolding works for the domain class, just not the graphql endpoint or the graphiql link.

looking at the installed plugins list from the home page doesn't list the graphql plugin
and
http://localhost:8080/graphql/browser returns a 404

Any thoughts or directions for me to investigate would be appreciated.

Thanks!

@jamesdh
Copy link
Contributor

jamesdh commented Jan 3, 2023

@Cortrah yea, I'm afraid this plugin hasn't been maintained alongside the more recent Grails/GORM updates. @puneetbehl do you know if there is any intention of keeping this plugin alive? I'm guessing there isn't many/any people available to continue working on it.

@Cortrah
Copy link
Author

Cortrah commented Jan 3, 2023

I should mention that it does work still with grails 4, so those of us who are using it can still use a supported version of grails in the meantime. I must compliment it as well, I've yet to see anything as enjoyable to use for modeling ones graphql data without having to pay for some content management interface.

@jamesdh
Copy link
Contributor

jamesdh commented Jan 4, 2023

I've yet to see anything as enjoyable to use for modeling ones graphql data

Couldn't agree more. I really wish the Micronaut team could come up with a way to replicate this plugin on top of Micronaut Data. If I was still using Grails/GORM I'd dig into this some more but unfortunately I just don't have the time or need for it anymore. Sorry!

@puneetbehl
Copy link
Contributor

Sorry for the late response. I have been a bit distracted with other items. I think GORM GraphQL is a useful plugin and I am not aware of any plans to abandon it. I haven't been able to look into yet for some time now. I will try to fit into my bucket list for next few weeks. Meanwhile, I will appreciate contributions from the community.

@Cortrah
Copy link
Author

Cortrah commented Jan 6, 2023

Thanks Puneet. I'm willing to help with some legwork also if you can think of some steps for me to try, but with all the dependency changes in recent years, I'm not sure where I would start.

@puneetbehl
Copy link
Contributor

Thank you offering help. Let me plan out a few things early next week and I will sync with you afterwards.

@Cortrah
Copy link
Author

Cortrah commented Jan 6, 2023

Very groove, thanks again!

@jamesdh
Copy link
Contributor

jamesdh commented Jan 7, 2023

@Cortrah do you see any exceptions pop up in the logs regarding the graphql schema generation on startup? If so, please add them here and I can possibly point you in the right direction as well.

@puneetbehl
Copy link
Contributor

I have just released v2.0.1. and waiting to to another 3.0.0-M1 release soon which basically update to GraphQL Java 17. It would create if someone could help out updating the Grails and Groovy dependencies to 5.2.5 and 3.0.11 on the 3.0.x branch.

@puneetbehl
Copy link
Contributor

I have created 2 issues #103 and #104. Please feel free to assign them to yourself and let me know if you have any questions.

@puneetbehl
Copy link
Contributor

puneetbehl commented Jan 12, 2023

@jamesdh Could you please help resolving conflicts in #70?

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

No branches or pull requests

3 participants