Annotation-Driven Schema definitions? #524
bdeacon-rh
started this conversation in
Feature requests
Replies: 1 comment 3 replies
-
I "feel" (not sure) that there is a "kickstart" library built on top / for Anyway, I did this on my own as there are a number of "gotchas" that I needed to address:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't think I saw anything while poking around in the code, but as I'm putting together my .graphqls files, it seems that there should be a pretty clean way for a reflection-based class scan to be able to automatically generate the schema for a class if there were a corresponding set of annotations similar in concept to jackson's
@JsonProperty
et al.It seems so clean, that I'm guessing it's already there and I'm just too dumb to see it. If something scanned the classes and generated the right string, that could be passed to SchemaParserBuilder.schemaString() could it not?
So my question would be: Is something like that already there? If not, is that on a roadmap? If not, is that something you think the community would be interested in seeing as a contribution?
Also, I'm new to this library. It's really well done. Good job, guys! :)
Beta Was this translation helpful? Give feedback.
All reactions