Grails

Allow codecs to use "encode" and "decode" methods, not just closures

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta1
  • Fix Version/s: 1.1-beta3
  • Component/s: None
  • Labels:
    None

Description

We should allow codecs to implement "encode" and "decode" methods instead of the corresponding closures. Note that this doesn't mean we stop supporting the closure syntax, just that users should be allowed to use either/or.

Activity

Hide
Graeme Rocher added a comment -

Done

Show
Graeme Rocher added a comment - Done

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: