-
Notifications
You must be signed in to change notification settings - Fork 534
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
Bug Report: Deprecated SchemaParser Interface in ValidationHandlerBuilder's create Method (vertx-web 4.4.3) #2437
Comments
@pk-work can you take a look please?
|
@tsegismont I had a look and I think I have an approach to use the new vertx-json-schema validator, but it looks like I need to change
into
and it is not possible to have both signatures at the same time. The effort would be very high. |
I've pushed my approach [1], but for some reason it cannot compile, I always get this exception:
I've search the whole package, but can't find an place which could result into this error... Maybe you can have a look [1] https://github.com/pk-work/vertx-web/tree/4_4_web_validation_replace_deprecated |
I've pushed now a new version: https://github.com/pk-work/vertx-web/tree/4_4_web_validation_replace_deprecated It supports the new and the old signature (see above). But two test cases (schema with circular refs) are failing. |
@pk-work would you mind creating a PR or draft to ease the review? |
@tsegismont of course, I just saw that I only pushed it to my fork. |
Is anything happening with this issue? SchemaParser has been deprecated over 1 year ago and you still cannot use ValidationHandlerBuilder with the new interface |
Hello,
I would like to report a bug in the vertx-web 4.4.3 repository related to the ValidationHandlerBuilder class.
Issue:
The issue pertains to the deprecated SchemaParser interface being used as a parameter in the create method of ValidationHandlerBuilder. Although the create method itself is not deprecated, it still relies on the deprecated SchemaParser interface.
Expected Behavior:
It is expected that a non-deprecated method or alternative approach should be provided for instantiating a ValidationHandlerBuilder without depending on the deprecated SchemaParser interface.
Steps to Reproduce:
Actual Result:
The create method requires a SchemaParser instance, which is marked as deprecated, causing concerns regarding the compatibility and recommended practices.
Expected Result:
A suitable replacement or updated approach should be available for creating instances of ValidationHandlerBuilder without reliance on the deprecated SchemaParser interface.
Additional Information:
Version: vertx-web 4.4.3
Please let me know if any further details are required or if there are specific guidelines to follow for bug reporting in this project.
Thank you for your attention to this matter.
Kind regards,
Lorenzo
The text was updated successfully, but these errors were encountered: