Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareNilVals ¶
have to pass if nil because of go nil issues and inability to compare nils without type info
func MapListEqual ¶
func StringListEqual ¶
func StringMapEqual ¶
Types ¶
type Change ¶
type Change struct { Change ChangeType Name string GraphQLName string // store anything extra here... ExtraInfo interface{} GraphQLOnly bool TSOnly bool }
type ChangeMap ¶
func (ChangeMap) ChangesExist ¶
func (cm ChangeMap) ChangesExist(key string, l ...ChangeType) bool
type ChangeType ¶
type ChangeType string
const ( AddPattern ChangeType = "add_pattern" ModifyPattern ChangeType = "modify_pattern" RemovePattern ChangeType = "remove_pattern" AddNode ChangeType = "add_node" RemoveNode ChangeType = "remove_node" ModifyNode ChangeType = "modify_node" AddField ChangeType = "add_field" RemoveField ChangeType = "remove_field" ModifyField ChangeType = "modify_field" AddEdge ChangeType = "add_edge" RemoveEdge ChangeType = "remove_edge" ModifyEdge ChangeType = "modify_edge" // brought to differentiate from edges since no connection in graphql land AddFieldEdge ChangeType = "add_field_edge" RemoveFieldEdge ChangeType = "remove_field-edge" ModifyFieldEdge ChangeType = "modify_field_edge" AddEdgeGroup ChangeType = "add_edge_group" RemoveEdgeGroup ChangeType = "remove_edge_group" ModifyEdgeGroup ChangeType = "modify_edge_group" AddAction ChangeType = "add_action" RemoveAction ChangeType = "remove_action" ModifyAction ChangeType = "modify_action" AddEnum ChangeType = "add_enum" RemoveEnum ChangeType = "remove_enum" ModifyEnum ChangeType = "modify_enum" CreateIndex ChangeType = "create_index" DropIndex ChangeType = "drop_index" CreateForeignKey ChangeType = "create_foreign_key" AddRows ChangeType = "add_rows" RemoveRows ChangeType = "remove_rows" ModifyRows ChangeType = "modify_rows" CreateUniqueConstraint ChangeType = "create_unique_constraint" CreateCheckConstraint ChangeType = "create_check_constraint" DropCheckConstraint ChangeType = "drop_check_constraint" )
Click to show internal directories.
Click to hide internal directories.