-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a problem where during the scanning of InputTypes it included s…
…ynthetic methods, added a filter + test
- Loading branch information
Showing
5 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
common/schema-builder/src/test/java/io/smallrye/graphql/index/generic/Attribute.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package io.smallrye.graphql.index.generic; | ||
|
||
public interface Attribute<T> { | ||
T getValue(); | ||
|
||
void setValue(T value); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
common/schema-builder/src/test/java/io/smallrye/graphql/index/generic/Some.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package io.smallrye.graphql.index.generic; | ||
|
||
public class Some implements Attribute<Long> { | ||
Long some; | ||
|
||
public Some() { | ||
} | ||
|
||
public Some(Long some) { | ||
this.some = some; | ||
} | ||
|
||
@Override | ||
public Long getValue() { | ||
return some; | ||
} | ||
|
||
@Override | ||
public void setValue(Long value) { | ||
this.some = value; | ||
} | ||
} |