Skip to content

Make Domain Update more convinient #16

@confile

Description

@confile

Assume you have a domain class User with a translatable property description.
You update user details like this

def update() {
   User user = User.get(params.id)
   user.properties = params
  user.save() 
}

If params contains a lang flag like lang = en. The description property in UserTranslation should be automatically updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions