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

Support new admin-bro ValidationError parameters #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Support new admin-bro ValidationError parameters #13

wants to merge 1 commit into from

Conversation

JoosepAlviste
Copy link

Hey! Version 2.2.0 of admin-bro changed the parameters to ValidationError so that there is no generic message as the first argument. This was done in this commit.

So, I removed the first argument and upgraded the admin-bro peer dependency to >=2.2.0.

However, I wasn't able to build the project nor run the tests (even before my changes). Is the TypeScript compilation also broken for you? I can try to fix it but I'm not at all familiar with the project.

Thanks for taking a look!

Version 2.2.0 of `admin-bro` changed the parameters to `ValidationError`
so that there is no generic `message` as the first argument. This was
done in [this
commit](SoftwareBrothers/adminjs@6b937c3).

So, removed the first argument and upgraded the `admin-bro` peer
dependency to `>=2.2.0`.
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.

None yet

1 participant