func (d *Document) FieldNameUnsafeString(ref int) string {
	return unsafebytes.BytesToString(d.Input.ByteSlice(d.Fields[ref].Name))
}
FieldNameUnsafeString - returns field name as a string which is unsafe pointer to document input content
package ast
import (
	"bytes"
	"github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes"
	"github.com/jensneuse/graphql-go-tools/pkg/lexer/position"
)
type Field struct {
	Alias         Alias               
	Name          ByteSliceReference  
	HasArguments  bool
	Arguments     ArgumentList  
	HasDirectives bool
	Directives    DirectiveList  
	SelectionSet  int            
	HasSelections bool
	Position      position.Position
}
func (d *Document) FieldNameBytes(ref int) ByteSlice {
	return d.Input.ByteSlice(d.Fields[ref].Name)
}