-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Just updated a schema in one of embedded registries and realized how easy it can get out of sync with main Iglu registry.
Illustrative scenario: we have some schema-ed Foo(enum: Bar | Baz) entity in a spark job that needs to be:
- Parsed from JSON
- Validated by Iglu client
- Decoded into
Foo(Bar)orFoo(Baz)class
Decoder knows that Bar and Baz are acceptable values. However once we add Qux to list of acceptable values - schema will get out of sync.
With sbt-iglu-push we can configure an SBT task to derive schema from decoder and push it to Iglu Server during CI/CD.
Kind of reverse of #88 (which is Schema -> Class definition, while we have Class definition -> Schema, which is much more approachable)
alexanderdean
Metadata
Metadata
Assignees
Labels
No labels