// withFact sets the old Fact of the mutation.
withFact sets the old Fact of the mutation.
// withFact sets the old Fact of the mutation .
func withFact(node *Fact) factOption {
	return func(m *FactMutation) {
		m.oldValue = func(context.Context) (*Fact, error) {
			return node, nil
		}
		m.id = &node.ID
	}
}
func withFact ( node * Fact ) factOption { return func ( m * FactMutation ) { m . oldValue = func ( context . Context ) ( * Fact , error ) { return node , nil } m . id = & node . ID } }
withFact sets the old Fact of the mutation.
withFact sets the old Fact of the mutation .