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

1-1329: return 400 when pattern is empty but example is not #4609

Conversation

thomasheartman
Copy link
Contributor

@thomasheartman thomasheartman commented Sep 5, 2023

Adding an example when there is no pattern doesn't make any sense, so it should be an error.

Tests in https://github.com/ivarconr/unleash-enterprise/pull/721

@vercel
Copy link

vercel bot commented Sep 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Sep 5, 2023 7:57am
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Visit Preview Sep 5, 2023 7:57am

@thomasheartman thomasheartman enabled auto-merge (squash) September 5, 2023 09:08
@thomasheartman thomasheartman merged commit 8a8a7b0 into main Sep 5, 2023
9 of 10 checks passed
@thomasheartman thomasheartman deleted the 1-1329-disallow-adding-examples-when-there-is-no-pattern branch September 5, 2023 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants