// withScope sets the old Scope of the mutation.
withScope sets the old Scope of the mutation.
// withScope sets the old Scope of the mutation .
func withScope(node *Scope) scopeOption {
	return func(m *ScopeMutation) {
		m.oldValue = func(context.Context) (*Scope, error) {
			return node, nil
		}
		m.id = &node.ID
	}
}
func withScope ( node * Scope ) scopeOption { return func ( m * ScopeMutation ) { m . oldValue = func ( context . Context ) ( * Scope , error ) { return node , nil } m . id = & node . ID } }
withScope sets the old Scope of the mutation.
withScope sets the old Scope of the mutation .