nalukit / malio Goto Github PK
View Code? Open in Web Editor NEWValidation library for Java, GWT & J2CL
License: Other
Validation library for Java, GWT & J2CL
License: Other
self-declaration ... :-)
Having a class marked as MalioValidator and use this class as an array type causes an compilation error.
Create a test to check if the value of an variable is an UUID.
Create a new check for numbers and there unboxed types to check that the value is not zero. It should also check, that the value is greater zero.
add a boolean value to the annotation to allow negative values
ATM the error messages are generated by the framework. There is no chance to change it by the user.
Add a optional message parameter to each variable annotation. It the message parameter is set, use the value from the parameter - otherwise use the default value ...
Instead of logging 'Malio-Processor' it logs 'Nalu-Plugin-GWT-Processor`
Currently, the @Size
annotation can only be used for variables of type Collection
.
It would be useful if this annotation could also be applied to arrays.
For example like so:
@MalioValidator
public class DepartmentManager {
@Size(min = 1, max = 50)
private int[] subordinateEmployeeIds;
}
PS: Good work so far ๐
The class documentations of @NotEmpty
and @NotBlank
currently contain a small mistake. In both class is described:
The annotation indicates that the String should be empty - if the value is not null.
See:
The correct description should be something like: The annotation indicates that the String should **not** be empty - if the value is not null.
The number of generated classes is really high. One for the validator and one for each variable and variable annotation of malio.
Instead of generating classes for each variable and annotation generate a method inside the validator.
Currently, Malio always generates a check- and a validate-method. In some cases, you might only use one of both. In this case Malio will generate a lot of useless code.
To avoid it, make the generation configurable.
Add two parameters to the `MalioValidator-annotation:
check
-method. (default: true)validate
-method. (default: true)which control the generation of both methods.
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.