You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #203 is completed, then each specified annotation may be implemented for each of the supported codecs for which it makes sense to support the annotation.
This ticket is to implement the @transientField annotation. This annotation, which may be applied to any field of a record (case class), is a marker to serializers that the field should not be serialized, but rather, its default value should be read during deserialization if it is absent (and it is expected to be absent).
The main place where this new annotation should be used is in the different protocols that ZIO Schema supports. For example, the zio-schema-json protocol, which has serialization / deserialization in the JSON protocol.
ZIO Schema already captures annotations, so it is only necessary to look at the annotations and ensure that serialization / deserialization respects them in every protocol where the annotation makes sense.
To complete this ticket, go to all existing protocols and modify to ensure @transientField is supported in each, with a test.
The text was updated successfully, but these errors were encountered:
After #203 is completed, then each specified annotation may be implemented for each of the supported codecs for which it makes sense to support the annotation.
This ticket is to implement the
@transientField
annotation. This annotation, which may be applied to any field of a record (case class
), is a marker to serializers that the field should not be serialized, but rather, its default value should be read during deserialization if it is absent (and it is expected to be absent).The main place where this new annotation should be used is in the different protocols that ZIO Schema supports. For example, the
zio-schema-json
protocol, which has serialization / deserialization in the JSON protocol.ZIO Schema already captures annotations, so it is only necessary to look at the annotations and ensure that serialization / deserialization respects them in every protocol where the annotation makes sense.
To complete this ticket, go to all existing protocols and modify to ensure
@transientField
is supported in each, with a test.The text was updated successfully, but these errors were encountered: