theseems / clinq Goto Github PK
View Code? Open in Web Editor NEWExperimental validation mini-framework
License: MIT License
Experimental validation mini-framework
License: MIT License
Now it's just impossible to configure optional pipes.
Need to figure out what to do with them.
There are a few possible scenarios:
There definitely should be a kind of documentation for the API.
Let's start by adding simple Javadoc to the interfaces.
Example:
var checker = Clinq.<Some>checker()
.when(some -> some.getField() == 2, someOther -> someOther
.with(other -> other % 2 == 0))
Implement a standalone validator in which we can bake ClinQ and then call it on data that needs to be validated.
It would be cool to have some long error messages separated from the check syntactically
var checker = Clinq.<Some>checker()
.and(smth)
.error("oh smth does not work")
with blocking:
var checker = Clinq.<Some>checker()
.and(smth)
.error("oh smth does not work and it block everything")
.blocking()
Need to add examples for:
Implement SpringCheckErros which hooks into spring validator's errors.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.