Comments (5)
I believe the taggable code may need a trait interceptor?
What do you mean by "trait interceptor"?
from taggable.
I have my domain classes as Java/JPA object. In Grails 2.5.2, the taggable plugin would correctly apply the trait to them.
I am not sure how that could have worked and I don't think the Grails 2 version of the plugin even had a trait.
from taggable.
It turns out a workaround is to have an abstract groovy domain object that implements taggable, then extend that in my java jpa objects.
I am not familiar with groovy traits, but assumed they could be applied to java classes at compile time as well as groovy classes. It looks like probably not. Creating a groovy base class and extending it works and accomplishes the same thing, just not quite as elegantly.
I am not sure how this worked in grails 2.x, it just worked out of the box by implementing taggable on my jpa objects.
from taggable.
I am not sure how this worked in grails 2.x, it just worked out of the box by implementing taggable on my jpa objects.
That is true. I was addressing the original claim that in Grails 2.5.2 that the taggable plugin was applying a trait to Java/JPA objects. That didn't (and couldn't) happen.
from taggable.
This issue looks like it is stale and therefor it is in risk of being closed with no further action.
from taggable.
Related Issues (11)
- change max length of tag name to 191 chars to support utf8mb4 HOT 1
- Publishing 3.1 compatible version? HOT 9
- Support for non-Long ids HOT 1
- Taggable dependency not working HOT 2
- Incompatible with Grails 4 HOT 1
- Using with Grails 5.2.x -- repo location? HOT 2
- Invalid tag_link types in case of 'lazy' hibernate proxies HOT 1
- fix Grails 2.4 compilation errors HOT 6
- Getting tags in a row is very slow HOT 1
- Upgrade to Grails 3.1.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taggable.