Open
Description
Expected Behavior
As a distribution author it should be easy to include additional defaulting & validation logic without modifying the core API types
Actual Behavior
It's actually non-trivial to add a vendor specific default & validation. We want to avoid leaking things in the upstream API types.
A potential workaround is to define your own stub type but this is error prone because
- When defaulting - if your stub doesn't simply passthrough all fields of the type you'll actually remove fields
- Keeping stubs up to date with the upstream will be tedious - ie. when new fields are added
Thus we need something better for this situation