Skip to content

require-meta-type don't support spread operator #250

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

Closed
piranna opened this issue Jun 14, 2022 · 2 comments · Fixed by #251
Closed

require-meta-type don't support spread operator #250

piranna opened this issue Jun 14, 2022 · 2 comments · Fixed by #251
Labels

Comments

@piranna
Copy link

piranna commented Jun 14, 2022

When filling meta object using a spread operator instead of explicitly set the fields, the eslint validator fails. It should look for the content of the spread and see that the required fields are there, instead of forcing to set them explicitly.

@bmish
Copy link
Member

bmish commented Jun 18, 2022

I have a PR in progress #251 for this that should be finished in the next few days.

@piranna
Copy link
Author

piranna commented Jun 18, 2022

Great! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants