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(lib/parseMapping): resolve alias check error on same field #386

Conversation

ole3021
Copy link
Contributor

@ole3021 ole3021 commented Dec 1, 2022

Original Issue

  • Fix by allow check alias name is same to the field name.

@naorpeled
Copy link
Collaborator

Hey @ole3021,
first of all thanks for creating this PR, you're awesome 😎

Can you please add tests that validate this?

@ole3021
Copy link
Contributor Author

ole3021 commented Dec 1, 2022

@naorpeled Just add a use case test, please have a check. Thx.

@naorpeled
Copy link
Collaborator

@naorpeled Just add a use case test, please have a check. Thx.

Awesome, will take a look soon, thanks!

src/lib/parseMapping.ts Outdated Show resolved Hide resolved
@naorpeled
Copy link
Collaborator

@ole3021 great PR,
left some nit comments, once they're addressed will get this merged 😎

ole3021 and others added 2 commits December 2, 2022 16:05
Co-authored-by: Naor Peled <thehecticbyte@gmail.com>
Co-authored-by: Naor Peled <thehecticbyte@gmail.com>
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.

receive "Error: 'alias' must be a unique string" when overriding created default value
2 participants