title: Does Grails have a neat way of copy domain properties from a URL query string?
body: <p>I know Grails has a map based constructor for domain objects, to which you can pass the params of a URL to and it will apply the appropriate field settings to the object using introspection, like this...</p>
  
  <pre><code>myDomainInstance = new MyObject(params)
  </code></pre>
  
  <p>I was wondering whether there was an equivalent method of taking the params and applying them to an existing object and updating values in the same way that the map constructor must work, something like...</p>
  
  <pre><code>myDomainInstance = params
  </code></pre>
  
  <p>or</p>
  
  <pre><code>myDomainInstance = fromParams(params)
  </code></pre>
  
  <p>Am I just wishful thinking or does such a thing exist?  I can code it up myself but would rather not if it exists already.</p>
  
  <p>Thanks</p>