Skip to content
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

fix(designer): Ensure OpenAPI token keys are normalized #5023

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

ek68794998
Copy link
Contributor

Please check if the PR fulfills these requirements**

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?

Bugfix (PAuto)

What is the current behavior?

Token title update compares normalized keys to non-normalized keys. This is fine for non-OpenAPI scenarios, but for OpenAPI tokens, normalized and non-normalized keys are necessarily unequal, and thus the comparison fails.

What is the new behavior

Tokens are normalized on both halves of the comparison, so the comparison succeeds.

Does this PR introduce a breaking change?

No

Screenshots or Videos of the intended change

LA

image

PA

image

@ek68794998 ek68794998 marked this pull request as ready for review June 26, 2024 01:56
@ek68794998 ek68794998 enabled auto-merge (squash) June 26, 2024 01:57
@ek68794998 ek68794998 merged commit c6a1341 into Azure:main Jun 26, 2024
11 of 12 checks passed
@ek68794998 ek68794998 deleted the ek/openapi-token-keys branch July 19, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants