Mercateo / spring-security-jwt

JWT support for spring-security
Apache License 2.0
30 stars 16 forks source link

Hide vavr from API and shade dependency #14

Closed uweschaefer closed 5 years ago

uweschaefer commented 5 years ago

In order not to force vavr on consumers of this fine library, it'd be good, that vavr Types are replace from the API and replaced by their JDK counterparts. If vavr is still used internally, maybe it is a good practice to shade & relocate the dependency, so that consumers can use their own version of vavr without conflict if they choose to.

https://maven.apache.org/plugins/maven-shade-plugin/examples/class-relocation.html