-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Add schema change attrs to connection create #19771
Conversation
7be2a88
to
5a59579
Compare
48db276
to
e54a3c4
Compare
e195953
to
cad6127
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.
LGTM.
Probably out of scope for this PR, but I'll ask since you may have more context. A long list of duplicated properties like this feels very error prone, how complex do you think it would be to refactor WebBackendConnectionCreate
so that it can use ConnectionCreate
?
I'm really not sure why it was built this way. But it seems we have this pattern for all of our objects that are passed to the WebBackendConnectionHandler - there's a version of the object for WebBackendConnectionHandler (e.g. WebBackendConnectionUpdate, WebBackendConnectionPatch, etc) and then a new object is created to pass to the ConnectionHandler. @benmoriceau do you know why this was done this way? |
we've looked in the past and it's hard to merge the definitions of 2 structs in openapi. we have tried to use |
What about nesting? (like having |
sure. given our new public api strategy, i feel like we can be a little less precious about these webbackend apis. |
Allow users to specify non-breaking schema change preference on Connection Create