sangria-graphql / macro-visit Goto Github PK
View Code? Open in Web Editor NEWA macro-based generic visitor generator
Home Page: http://sangria-graphql.org
License: Apache License 2.0
A macro-based generic visitor generator
Home Page: http://sangria-graphql.org
License: Apache License 2.0
I am using org.sangria-graphql:sangria_2.13:3.0.0 dependency in a Maven project which uses org.apache.maven.plugins:maven-dependency-plugin:3.2.0:unpack-dependencies during the package phase. Unfortunately, the package phase keeps failing with the following error when the maven-dependency-plugin tries to expand the macro-visit_2.13-0.1.3.jar (which is a transitive dependency of org.sangria-graphql:sangria_2.13:3.0.0) into the target/classes directory:
org.apache.maven.plugin.PluginExecutionException: Execution null of goal org.apache.maven.plugins:maven-dependency-plugin:3.2.0:unpack-dependencies failed: Negative time
To investigate, I downloaded the macro-visit_2.13-0.1.3.jar from https://mvnrepository.com/artifact/org.sangria-graphql/macro-visit_2.13/0.1.3 and unzipped it on my local machine and found some strange modified dates which are likely the root cause for this issue.
Not quite sure how that happened. Maybe a glitch during the build? Other sangria dependencies seem to be just fine. Maybe a simple rebuild and release will fix the issue.
For now, I have manually added a dependency on macro-visit_2.13:0.1.2 which does not expose this problem and gets my build to pass.
These are not yet documented.
As far as I can determine; they are used to modify a field of a case class.
Each specifies the type of the target field and TransformSpecialNamed names the field when the type matches more than one field.
Might I suggest that they be named something like TransformField and TransformFieldByName?
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.