Comments (6)
@pk-work can you take a look please?
SchemaParser
has been deprecated and we need to adapt the Vert.x Web Validation handler to this.
from vertx-web.
@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
static ValidationHandlerBuilder create(SchemaParser parser)
into
static ValidationHandlerBuilder create(SchemaRepository repo)
and it is not possible to have both signatures at the same time. The effort would be very high.
from vertx-web.
I've pushed my approach [1], but for some reason it cannot compile, I always get this exception:
io.vertx.docgen.DocGenException: Could not resolve io.vertx.ext.web.validation.builder.ValidationHandlerBuilder#create(SchemaParser)
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
from vertx-web.
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.
from vertx-web.
@pk-work would you mind creating a PR or draft to ease the review?
from vertx-web.
@tsegismont of course, I just saw that I only pushed it to my fork.
from vertx-web.
Related Issues (20)
- How to upgrade Snakeyaml to 2.0 in vertx 4.x?
- How to upgrade Snakeyaml to 2.0 in vertx 4.x? HOT 1
- When the WebSocket connection is closed, the registrations is not clear! HOT 3
- CSRF Handler can "trap" users HOT 7
- BodyHandler: document setDeleteUploadedFilesOnEnd HOT 2
- FileUpload API improvements
- BodyHandler default body limit change HOT 1
- Vertx Web Validation circular refs tests are failing
- fail() in RoutingContextImpl constructor causes "Unhandled exception in router" even if error was handled
- converting routing context request to web socket returns text handler id as null. HOT 1
- ForwardedParser parse XFF IPV6. HOT 4
- sqlConnection.updateWithParams HOT 1
- VertxRest HOT 1
- Investigate if Vertx WebClient can support HTTP proxy server proxying HTTPS requests HOT 1
- Add webUser() method to io.vertx.ext.web.handler.graphql.ws.Message HOT 2
- vertx-web-graphql subscription onError() is not returning a payload of an array of GraphQLErrors HOT 1
- `BodyHandler` with `deleteUploadedFilesOnEnd=true` fail to clean temporary file HOT 1
- GraphQLWS: store the RoutingContext in GraphQLContext HOT 1
- Deprecate GraphQLHandler#getRoutingContext HOT 1
- Support request forwarding to Web API Service with new OpenAPI Router
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vertx-web.