feat(schema)!: add more range methods, rename EnumDefinition -> EnumType (#21043)

This commit is contained in:
Aaron Craelius
2024-07-24 13:42:47 +00:00
committed by GitHub
parent 1f0ce2f5b5
commit 339e26ea8f
10 changed files with 163 additions and 70 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
package schema
// Type is an interface that all types in the schema implement.
// Currently these are ObjectType and EnumDefinition.
// Currently these are ObjectType and EnumType.
type Type interface {
// TypeName returns the type's name.
TypeName() string
isType()
}