Skip to content

Commit

Permalink
introspection: currently no descriptions and deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
neelance committed Oct 21, 2016
1 parent ad5689b commit 0152d4f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions internal/exec/introspection.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (r *typeResolver) Name() *string {
}

func (r *typeResolver) Description() string {
panic("TODO")
return ""
}

func (r *typeResolver) Fields(args struct{ IncludeDeprecated bool }) []*fieldResolver {
Expand Down Expand Up @@ -275,7 +275,7 @@ func (r *fieldResolver) Name() string {
}

func (r *fieldResolver) Description() string {
panic("TODO")
return ""
}

func (r *fieldResolver) Args() []*inputValueResolver {
Expand All @@ -287,11 +287,11 @@ func (r *fieldResolver) Type() *typeResolver {
}

func (r *fieldResolver) IsDeprecated() bool {
panic("TODO")
return false
}

func (r *fieldResolver) DeprecationReason() string {
panic("TODO")
func (r *fieldResolver) DeprecationReason() *string {
return nil
}

type inputValueResolver struct {
Expand All @@ -302,7 +302,7 @@ func (r *inputValueResolver) Name() string {
}

func (r *inputValueResolver) Description() string {
panic("TODO")
return ""
}

func (r *inputValueResolver) Type() *typeResolver {
Expand All @@ -321,15 +321,15 @@ func (r *enumValueResolver) Name() string {
}

func (r *enumValueResolver) Description() string {
panic("TODO")
return ""
}

func (r *enumValueResolver) IsDeprecated() bool {
panic("TODO")
return false
}

func (r *enumValueResolver) DeprecationReason() string {
panic("TODO")
func (r *enumValueResolver) DeprecationReason() *string {
return nil
}

type directiveResolver struct {
Expand All @@ -340,7 +340,7 @@ func (r *directiveResolver) Name() string {
}

func (r *directiveResolver) Description() string {
panic("TODO")
return ""
}

func (r *directiveResolver) Locations() []string {
Expand Down

0 comments on commit 0152d4f

Please sign in to comment.