Add a simple
ContextEncoder for quick definitions of simple encoders
#93
Labels
simple
ContextEncoder for quick definitions of simple encoders
#93
This is largely a quality-of-life suggestion to make encoder definitions less painful, especially when they have only one or two fields.
Add a
def simple()
method on theContextEncoder
companion object, such as:Alongside this define methods to allow additional attributes, e.g.
These can then be used together, for example:
The text was updated successfully, but these errors were encountered: