Skip to content

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

@Cortrah

Description

@Cortrah

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions