Skip to content

avoid overlapping versions#3228

Merged
stefanwire merged 1 commit intodevelopfrom
sb/apiversion
Apr 12, 2023
Merged

avoid overlapping versions#3228
stefanwire merged 1 commit intodevelopfrom
sb/apiversion

Conversation

@stefanwire
Copy link
Contributor

Checklist

@stefanwire stefanwire requested a review from mdimjasevic April 12, 2023 08:58
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Apr 12, 2023
Copy link
Contributor

@mdimjasevic mdimjasevic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems benign, but now that you made it obvious that there are overlapping endpoints, I wonder how is the endpoint and the handler chosen if I make a request to POST /v2/conversations?

Copy link
Contributor

@mdimjasevic mdimjasevic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think for endpoints a and b that are combined in an API with a :<|> b, I think a will be attempted first (to answer my earlier question).

@stefanwire stefanwire merged commit f0e93ec into develop Apr 12, 2023
@stefanwire stefanwire deleted the sb/apiversion branch April 12, 2023 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments