-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve schema limits #1157
Improve schema limits #1157
Conversation
… `flowctl-go serve consumer`
7d6d596
to
8166b31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments, looking good!
…ditional* properties
…ms`) from a child immediately prior to smooshing into a parent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM % final comments!
crates/doc/src/shape/limits.rs
Outdated
for prop in slf.object.properties.iter_mut() { | ||
enforce_field_count_limits(&mut prop.shape, loc.push_prop(&prop.name)) | ||
shape_to_squash.array.additional_items = | ||
squash_addl_properties(shape_to_squash.array.additional_items); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't you just set additional_items
and additional_properties
to None
?
nit: if you can't and must keep this, then squash_addl_properties
=> squash_addl
? sometimes item, sometimes property
ba809e8
to
8b7196c
Compare
8b7196c
to
441ea5b
Compare
Description:
--flow.enable-schema-inference
flag toflowctl-go serve consumer
to enable schema inference for capture tasksThis change is