sql icon indicating copy to clipboard operation
sql copied to clipboard

Add JSON and YAML serialization-related annotations in `schema` macro

Open vladfaust opened this issue 6 years ago • 0 comments

TIL you can define the same annotation multiple times. This allows to define, for example, JSON::Field annotation without actually requiring "json"! Therefore I could put serialization-related annotations right into the schema macro.

vladfaust avatar May 01 '19 09:05 vladfaust