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
Use constructor in TargetSpec, allow union in builder (#325)
A normal constructor can now be used with `TargetSpec`. Also, the
builder config dict `target` accepts either a str or a prebuilt `Target
Spec`. The stubtest uses the right `_core` module now.
Since the `TargetSpec` is now part of the `EncoderfileConfig`, it needs
to derive `JsonSchema`. Let me know if that would be an issue. From the
top of my head I don't know if we currently test schema generation and
check something on it.
The `version` param takes `None` as default to make it consistent with
the Rust-side option. However, it might be more appropriate to signal
`'0.1.0'` as default, as it is the real value that will be set up when
the default is used. A discussion for another day 😅
0 commit comments