Skip to content

Commit

Permalink
Rename OrderBy and Finder GraphQL types to avoid name clashes.
Browse files Browse the repository at this point in the history
  • Loading branch information
motlin committed Dec 4, 2023
1 parent 99053ac commit 87e7bd2
Showing 1 changed file with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ scalar TemporalRange
scalar LocalDate
scalar Long

input StringAttribute {
input _StringAttribute {
eq: String
notEq: String
in: [String]
Expand All @@ -21,27 +21,27 @@ input StringAttribute {
notEndsWith: String
contains: String
notContains: String
toLowerCase: StringAttribute
toLowerCase: _StringAttribute

wildCardEq: String
wildCardEquals: String
wildCardIn: [String]
wildCardNotEq: String
wildCardNotEquals: String

lower: StringAttribute
lower: _StringAttribute
# Parameters not allowed in input types
# subString(start: Int, end: Int): StringAttribute
}

input BooleanAttribute {
input _BooleanAttribute {
eq: Boolean
notEq: Boolean
in: [Boolean]
notIn: [Boolean]
}

input IntegerAttribute {
input _IntegerAttribute {
eq: Int
notEq: Int
in: [Int]
Expand All @@ -52,10 +52,10 @@ input IntegerAttribute {
lessThan: Int
lessThanEquals: Int

abs: IntegerAttribute
abs: _IntegerAttribute
}

input LongAttribute {
input _LongAttribute {
eq: Long
notEq: Long
in: [Long]
Expand All @@ -66,10 +66,10 @@ input LongAttribute {
lessThan: Long
lessThanEquals: Long

abs: LongAttribute
abs: _LongAttribute
}

input DoubleAttribute {
input _DoubleAttribute {
eq: Float
notEq: Float
in: [Float]
Expand All @@ -80,10 +80,10 @@ input DoubleAttribute {
lessThan: Float
lessThanEquals: Float

abs: DoubleAttribute
abs: _DoubleAttribute
}

input FloatAttribute {
input _FloatAttribute {
eq: Float
notEq: Float
in: [Float]
Expand All @@ -94,10 +94,10 @@ input FloatAttribute {
lessThan: Float
lessThanEquals: Float

abs: FloatAttribute
abs: _FloatAttribute
}

input DateAttribute {
input _DateAttribute {
eq: String
notEq: String
in: [String]
Expand All @@ -108,12 +108,12 @@ input DateAttribute {
lessThan: String
lessThanEquals: String

year: IntegerAttribute
month: IntegerAttribute
dayOfMonth: IntegerAttribute
year: _IntegerAttribute
month: _IntegerAttribute
dayOfMonth: _IntegerAttribute
}

input TimestampAttribute {
input _TimestampAttribute {
eq: String
notEq: String
in: [String]
Expand All @@ -124,22 +124,22 @@ input TimestampAttribute {
lessThan: String
lessThanEquals: String

year: IntegerAttribute
month: IntegerAttribute
dayOfMonth: IntegerAttribute
year: _IntegerAttribute
month: _IntegerAttribute
dayOfMonth: _IntegerAttribute
}

input AsOfAttribute {
input _AsOfAttribute {
eq: String
notEq: String
equalsEdgePoint: Empty
equalsEdgePoint: _Empty
}

input Empty {
input _Empty {
dummyFieldDoNotUse: String
}

enum OrderByDirection {
enum _OrderByDirection {
ASCENDING
DESCENDING
}

0 comments on commit 87e7bd2

Please sign in to comment.