|
Hey Guys,
Im trying to publish a simple plugin that add methods to Domain Classes, basically first(), last(), updateAttribute() and updateAttributes(), i would like you to give me permissions to publish it into the grailsCentral repository. My username is : antonio.pagano You can see the source code at : The name of the plugin will be domain-utils. Thanks in Advance, |
|
This is weird:
On Sat, Jul 7, 2012 at 10:23 PM, Antonio Pagano <[hidden email]> wrote:
Nick Vaidyanathan Lead Visionary- Visionary Software Solutions LLC
|
|
Actually, its allowing users to updateAttributes ( as the name of the method says ), and yes, it's adding this methods dynamically, It's adding functions rather than properties.
On Monday, July 9, 2012 at 11:18 AM, Nick Vaidyanathan wrote:
|
|
What happens if:
Or
Or
Also, if I remember properly, domains added by plugins are added to an end user application db. I believe if you move TestDomain from domain/ to src/groovy and implement have it implement GrailsDomainClass, you would get the same semantics without adding an extra table to users' databases. I could be wrong, though. Might be worth investigation.
On Mon, Jul 9, 2012 at 9:29 AM, Antonio Pagano <[hidden email]> wrote:
Nick Vaidyanathan Lead Visionary- Visionary Software Solutions LLC
|
|
Yes, you are right about TestsDomain, i should add it to my exclude files, about that cases i will implement it on my tests.
On Monday, July 9, 2012 at 11:43 AM, Nick Vaidyanathan wrote:
|
|
BTW, Thanks Nick and Jean !!
On Monday, July 9, 2012 at 11:46 AM, Antonio Pagano wrote:
|
|
In reply to this post by apaganobeleno
Hi Antonio,
First, thanks for offering your plugin to the community. Further comments inline. > Im trying to publish a simple plugin that add methods to Domain Classes, > basically first(), last(), updateAttribute() and updateAttributes(), i would > like you to give me > permissions to publish it into the grailsCentral repository. How do updateAttribute() and updateAttributes() differ from the dynamic properties plugin? http://grails.org/plugin/dynamic-domain-properties first() and last() may be worth implementing in GORM, particularly as methods that you can call on detached criteria. > You can see the source code at : > https://github.com/apaganobeleno/grails-domain-utils > > The name of the plugin will be domain-utils. Without some form of documentation explaining what the plugin does and how to use it, I'm afraid we can't accept it. This is a recent initiative to ensure a minimum standard for public plugins. Regards, Peter -- Peter Ledbrook Grails Advocate SpringSource - A Division of VMware --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
ok, Thanks, would be next time :)
On Monday, July 9, 2012 at 12:30 PM, Peter Ledbrook wrote:
|
| Powered by Nabble | Edit this page |
