// withFactType sets the old FactType of the mutation.
withFactType sets the old FactType of the mutation.
// withFactType sets the old FactType of the mutation .
func withFactType(node *FactType) facttypeOption {
	return func(m *FactTypeMutation) {
		m.oldValue = func(context.Context) (*FactType, error) {
			return node, nil
		}
		m.id = &node.ID
	}
}
func withFactType ( node * FactType ) facttypeOption { return func ( m * FactTypeMutation ) { m . oldValue = func ( context . Context ) ( * FactType , error ) { return node , nil } m . id = & node . ID } }
withFactType sets the old FactType of the mutation.
withFactType sets the old FactType of the mutation .