apache / apache/grails-core

Feature Request - Grails Domain auto imports from plugins

Open
#14,278 0 comments 0 reactions 0 assignees View on GitHub
relates-to: grails-views
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

Currently gson views dont auto import domain models from plugins within a project. It forces a manual import when moving domain classes around. I'd perhaps even suggest removing auto import altogether if it's a consistency problem. Reducing the gotyas to this aspect when going from dev to production would be handy

Contributor guide

Open the contributing guide

Research direction

Start by locating the Gson views handling for domain model imports and the plugin domain-model resolution path, then compare behavior when domain classes are moved between development and production. Done should mean the project has a consistent, tested decision for automatic imports from plugins, including whether automatic imports remain enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.