-
Notifications
You must be signed in to change notification settings - Fork 11
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
Feature request: Ajv formats addFormat support #60
Comments
@cfuerst I would absolutely support this! Please do open a PR and I'll take a look and try to answer any questions you may have 🎉 |
What do you think of going with an additional parameter
It's not pretty to pass a key value pair like this though. Maybe you have a better idea.
Feedback greatly appreciated 🙇 Edit: for the sake of simplicity I would only support regexp out of the signature of addFormat |
@GrantBirki I added a PR for this #61 let me know what you think about it |
@cfuerst thank you so much for this feature and being super speedy ⚡! I have published a new release If it does work, I'll update the main release Thank you! 🙇 |
Awesome thank you ill try it out tomorrow asap and give you feedback. You had quite a quick merge finger here hehe, there are still 2 tests i have not implemented yet which would cover the non happy paths (not sure if they are even needed) - see the last 2 tests from json validator test. Sorry for that, but i can take care of them too. Whats your opinion how to deal with those cases? |
I was indeed too speedy! If you want to open another PR to fill in those tests cases, that would be great! I don't have any preference as to how they are done. Even without them, I think its working great and that's the reason for acceptance tests too 😃 |
👍 v2.7.0 works like a charm in my repo |
Merged #64 🎉 New release published Thank you so much for your great contributions here 🙇 ⭐ |
Hi There 👋 first of all thank you for this great GitHub action ❤️
I need to do exactly what you supporting here with the addition that I have custom formats in my schema.
For example:
Could (and would you be open to) you imagine a smart and generic way how this action could support custom formats?
If so I would be happy to try to drive a PR regarding that.
Cheers
The text was updated successfully, but these errors were encountered: