diff --git a/entc/gen/internal/bindata.go b/entc/gen/internal/bindata.go index e427e6de6..f3d4bf467 100644 --- a/entc/gen/internal/bindata.go +++ b/entc/gen/internal/bindata.go @@ -212,7 +212,7 @@ func templateBuilderEntqlTmpl() (*asset, error) { return a, nil } -var _templateBuilderMutationTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x5c\x5b\x73\xdb\xc6\x92\x7e\x26\x7e\x45\x87\xa5\xe4\x10\x5a\x1a\x4c\xce\xdb\x2a\xcb\x07\x1f\x29\xc9\x61\xd5\xae\xb5\xb5\x52\xf6\x45\xe5\x3a\x81\x81\x26\x39\x2b\x5c\x18\x0c\x48\x49\xa5\xf0\xbf\x6f\x75\xcf\x0c\x30\x83\x1b\x2f\x96\x13\xbb\x2a\x36\x89\x4b\x4f\x5f\xbe\xbe\x4d\x0f\xf3\xfa\x3a\xbb\xf4\xae\xf3\xcd\x4b\x21\x56\xeb\x12\xfe\xfe\xfd\x0f\xff\xfe\x6e\x53\xa0\xc4\xac\x84\x9f\xc3\x08\x3f\xe5\xf9\x23\x2c\xb2\x28\x80\xf7\x49\x02\xfc\x90\x04\xba\x5f\xec\x30\x0e\xbc\xfb\xb5\x90\x20\xf3\x6d\x11\x21\x44\x79\x8c\x20\x24\x24\x22\xc2\x4c\x62\x0c\xdb\x2c\xc6\x02\xca\x35\xc2\xfb\x4d\x18\xad\x11\xfe\x1e\x7c\x6f\xee\xc2\x32\xdf\x66\xb1\x27\x32\xbe\xff\x9f\x8b\xeb\x9f\x3e\xdc\xfd\x04\x4b\x91\x20\xe8\x6b\x45\x9e\x97\x10\x8b\x02\xa3\x32\x2f\x5e\x20\x5f\x42\x69\x2d\x56\x16\x88\x81\x77\x39\xdb\xef\x3d\x8f\x64\x80\x55\x5e\xbe\x6c\xf0\x0a\x30\x2b\x57\x79\x20\xf2\x19\x66\x25\xfd\x17\xcd\x56\x98\x05\xbf\x14\xe1\x66\x0d\xe6\x71\x88\x71\x29\x32\x84\x71\xba\x2d\xc3\x52\xe4\xd9\x18\xf4\x8d\x8b\xcd\xe3\x0a\xae\xe6\xf0\x29\x94\x08\x17\xc1\x75\x9e\x2d\xc5\x2a\xf8\xef\x30\x7a\x0c\x57\x48\x0f\xbd\xbe\x42\x89\xe9\x26\x09\x4b\x84\xf1\x1a\xc3\x18\x8b\x31\x5c\xf0\xeb\x22\xdd\xe4\x45\x09\x13\x6f\x34\x8e\xf2\xac\xc4\xe7\x72\xec\x8d\xc6\xcb\x94\xff\x91\x2f\x59\x34\xf6\xbc\xd1\xeb\xeb\x3b\x28\xc2\x6c\x85\x70\x91\xd1\x42\x17\xc1\x87\x3c\x46\x49\x04\x46\xa3\x31\x71\xd0\x5e\x74\x46\x97\x33\xeb\xc2\x58\xd1\xc1\x2c\xe6\x85\x47\x63\x5b\xe8\xb1\xe7\x7b\x5e\x94\x67\x92\x59\x99\xcd\xe0\x76\x83\x05\x4b\x09\xa4\x21\x19\x78\xa3\xdb\xcd\x75\x81\x24\x01\x00\xcc\x49\x63\x81\xb9\x42\xf7\x6e\x30\x41\xf7\x9e\xba\x52\xdf\xbb\xcd\xb0\x71\xef\x36\xe3\xdb\xbf\x6e\xe2\x06\x59\x75\xa5\xbe\x67\xbf\x5a\x5d\xf1\x98\x4f\x52\x44\xc5\xe2\xa0\x9e\xee\x5f\x36\xa8\x74\xf2\x21\x4c\x49\x21\x30\x87\xb1\x73\xc1\xd5\x90\xcf\xb6\xed\x21\xc7\x66\x37\x40\xe0\x7b\x59\xf0\x5f\xfa\xab\xa6\xe6\xcd\x66\xe0\x3c\xb5\xdf\x43\x81\xda\x4d\x24\x84\x19\xe4\xb5\x8e\xd7\x61\x09\xfc\x20\x4a\xc6\xb1\xcb\x68\xc6\xcb\x6a\x88\xaf\x08\x95\x81\x47\x32\xb7\xe8\xcb\xb2\xd8\x46\x25\xbc\x7a\xa3\x88\xf1\xe0\x8d\xf2\x0d\xdc\x6e\xbc\x51\xf9\xb2\xa1\x9b\x22\x5b\x91\x8c\x44\x7b\x71\x13\xfc\x63\x2b\x92\x18\x8b\x9f\x05\x26\x24\x31\x5c\x56\x77\x48\x57\xac\x35\x4b\xa3\xcb\x86\x98\xfc\x9a\xd6\x2d\xbd\xb8\xec\xa6\xb7\xac\x89\x31\x35\xb1\x84\x30\x8b\xcd\xf5\xe0\xc3\x36\xc5\x42\x44\xf4\xfd\x3a\xcf\x76\x58\x94\x18\xdf\xe7\xff\x08\xa5\x88\xd4\x3b\xa3\x30\x8e\x4f\x20\xaf\x8d\xe7\x7c\x8e\x12\x0c\x0b\x8c\x35\xc3\x69\xb8\x79\x50\xaa\xf8\xa8\xd4\xf5\xea\xca\x89\x5a\xce\x9f\xe2\x15\x4a\x87\xef\x0b\x0c\x7e\xcd\xc4\xef\x5b\xbd\x1c\x4b\x8d\xdd\x6c\xa1\x92\xce\x56\xa5\x62\x29\x91\xc3\x6f\x13\x77\x9d\x04\x2c\x66\x47\xa3\x02\xd3\x7c\x87\xf1\x67\x90\xb0\xf5\x63\x14\xd4\x4d\xee\x53\x9e\x27\xae\x3e\xe3\x3c\x43\x7d\x39\x4f\xe2\xff\x0d\x93\x2d\xc2\x72\x9b\x45\x13\x1d\xc1\xc8\x92\xf4\xaf\x0f\x93\x4b\x07\xc8\x53\xc0\xa2\xc8\x0b\xdf\x1b\x6d\x0a\x8c\x45\xc4\x70\x7f\xf8\x58\x7d\x09\x9c\xa7\xbd\xbd\xe7\xed\xc2\x02\xfe\xc5\x9e\x6f\x60\x07\x73\x4d\xd5\xc2\xbd\x3f\xc9\x44\xe2\xbb\x4e\x79\xbb\x31\xae\xb9\x29\x44\x56\xc2\x24\x0a\x53\x4c\x0c\x79\x1f\xc6\xea\x81\x71\x87\xa7\xea\x57\xf7\x7b\x08\x93\x24\x7f\x22\xc8\x64\xe1\x0a\x53\x4a\x6f\x9c\x51\x10\xaa\xc5\x95\x9f\x6d\xb5\x1f\x6f\xa5\xc8\x56\xac\x0b\xfa\x1a\x26\x90\x33\x29\xd9\xe1\xae\xf5\x22\xac\xba\x96\x48\x1e\x71\x95\xe1\x53\xd3\xc5\x23\x0e\xb9\x92\x6e\xd5\x5c\x2c\xf3\xa2\x23\x6c\x60\x56\x8a\xf2\x25\xf0\x68\x81\x0e\x52\x93\x48\x73\x3f\x05\x8e\x12\xf4\x4f\x29\x21\x08\x82\x4e\x3e\x7d\x68\xf2\x48\x71\x26\x25\x0d\x7f\xd7\xb8\xf1\x4a\x98\x62\xd2\x57\xa0\xff\x44\x53\x6f\x34\xca\x37\xd5\x77\xfa\x93\x6f\xe8\x62\xf9\xe2\x5c\x6d\x85\xe9\x69\x0d\x50\xe5\xc1\x57\x90\x86\x8f\x38\xe9\xf0\x63\x7f\xea\x8d\xf6\xde\x88\xb4\xf1\x2f\x96\x86\x98\x53\x6e\xcd\xa2\xbd\x32\x0f\xe5\x24\xf5\xf9\xb9\x02\xcb\x6d\x91\x41\xea\xe9\x78\xae\x5f\x50\x78\x19\x3f\x89\x72\x3d\xae\xf8\x18\x2f\x6e\x6c\xa8\xd0\xa3\x14\x6f\xb1\x54\xf1\x7a\x71\x03\x4b\x76\x98\x06\x3e\xb4\xf2\xeb\x57\x26\x22\x86\x66\x98\xf5\x7b\x80\xf1\x5a\xb1\xc8\x10\x49\x5b\x06\xf0\x59\x22\xf2\x91\x09\x45\x05\x2c\x0a\xe5\x60\xf4\x25\xcf\x22\x04\x2a\x20\x82\xdb\x2c\x42\xba\xb2\x63\x47\x75\x3d\xd2\x1b\x8d\x7c\x6f\x34\x4a\x83\xca\x91\xe7\xda\x95\xcb\x67\x38\xd6\x9d\x99\x0b\x5e\x30\xb8\xc9\x27\xfc\xba\xbe\x36\x12\x4b\x48\x03\x8e\x17\xea\x3b\xf3\x38\x87\x65\x5a\x06\x3f\xd1\xbb\xcb\xc9\xf8\xf7\x2d\x16\x2f\xe4\x36\x79\x12\x03\xf3\x28\x61\x93\xcb\xb2\x46\xb7\x90\x90\xe5\xa5\x72\x46\x8c\xc7\x3e\x53\xda\xab\x58\xaa\xc9\xf2\x7b\xcc\x0f\xcc\x21\x0d\xae\x13\x81\x59\x39\xf1\xdd\x80\x12\xfc\x82\x25\x09\x36\x05\x11\x6b\x22\xf4\xf7\xde\x57\x21\x95\x35\x5d\x13\xf2\xd4\xed\x34\xe8\xcd\x97\x73\xf8\x4e\xc4\x84\x24\x0b\x3f\x3d\xf0\xe9\x47\x0e\x49\xed\xba\xed\x41\x08\x51\x39\xd0\xb0\xe3\x67\x42\xa8\xc3\xfe\x27\xd9\x5e\xaf\x41\x8c\x4d\x21\x13\xc9\x51\xba\xa3\xa7\x83\xc5\x8d\x56\xe0\x6c\x06\xca\x6a\xa0\x88\x49\x08\x39\xc6\xfd\x46\xc1\x5f\xdd\xf9\x0d\x96\x45\x9e\xba\xca\x81\x45\x23\x20\x3f\x85\x92\x68\xe1\x33\x46\xdb\x12\x63\xaa\x9a\x42\x28\x8b\x30\x93\x21\x07\x65\x98\x10\xc1\xfb\x67\x7f\xea\x5e\x0f\x13\x88\xd4\xfa\x42\x6a\x16\xa8\x57\x61\xdd\x4f\xd2\x66\xa5\xe5\x83\x81\x18\x5c\x6a\xb6\xa9\xe8\x52\x9f\x28\x22\xaa\x8b\xaf\x26\x0a\xa6\x81\xfa\xb4\x37\x0f\x05\x22\x13\xe5\xc4\xaf\xcc\xa3\xae\x6a\x45\xdc\x3f\xd7\x4a\xc8\x94\x06\xee\x9f\x7f\xe3\x28\x6f\x78\x90\xaa\x66\x7c\xc2\x02\x1d\x59\x2d\x89\xe4\x8f\x44\x4b\x94\x36\x2d\x36\x1a\xe4\xe5\x1a\x8b\x27\x21\x71\x40\xbe\xfb\xe7\x09\x19\xfd\xfe\xd9\xb6\xb4\x58\xc2\x88\x22\xeb\x23\xc9\x98\x06\x71\x21\x76\x58\x04\x93\xcb\xf2\xf9\x86\x3f\xfa\x3f\xc2\x37\xf9\x23\x63\xc2\x40\x42\x24\x53\xc7\xdd\x4d\xbf\xb4\xdf\x5f\xb5\x3c\xbc\xd8\x66\x19\x45\x82\xa6\xcd\xc6\x2a\x5e\x97\xcf\xac\xda\xfb\xe7\x2e\xb5\x96\xcf\x4d\x95\x92\xa3\x13\x16\xd9\x3b\x55\x01\xc7\x50\xfc\x55\x62\x71\xc3\xbd\x9c\x2a\x67\x66\x33\xb8\xc3\x72\x71\x53\xfb\xa4\x8a\x94\xda\x0f\x45\xac\x42\x7b\x00\x1f\xf2\x12\x95\xda\xa9\xa9\xe4\x17\xeb\x12\x5e\x48\xc8\xb3\xe4\x05\xc2\x28\xc2\x0d\x19\x83\x8a\x03\xca\xd5\x74\x33\x5f\x76\xa5\x66\xc1\x4d\x8b\xb1\x40\xdb\x33\x99\xab\x9e\x84\x71\x64\x64\xb2\x3b\xbe\xd9\x8c\xd2\x94\x01\x83\xce\x5a\x4a\x54\xdd\x5a\xd4\x5e\x65\x8b\x4a\xcf\x31\x92\x8c\x84\xbb\x50\x24\xe1\x27\x6a\xba\x97\x04\xaf\xa7\x50\xc2\xa6\xc8\x77\x22\xc6\x18\xca\x9c\xdf\xf8\xa4\x18\xaa\xf1\xd5\x96\x6e\x71\x43\x00\xeb\x90\x6e\x0a\xf8\x2c\x64\x29\xb9\xc4\x34\xb0\x1b\x12\x76\x4e\x66\xb6\x40\x67\x27\xf7\xcb\xfe\x17\xa7\x50\x16\x5b\xd4\xc1\xbb\xd1\xe4\x58\xcd\x0d\xbd\xae\x3a\xe3\xaa\x36\xb0\xfa\xea\x71\x30\xd6\xbd\x8b\x2c\xc3\xac\xac\xde\xd8\x70\xe9\x81\x11\x92\x5b\x54\xdd\xce\x1d\xd7\x2b\x54\x21\xbd\x92\xf2\xf0\x77\x7a\x70\x9c\x8e\x39\x54\xf3\x5b\x73\x18\xb3\x49\xcc\xa5\xba\x9f\x81\x0b\xd6\x25\xf1\xb7\xac\xaa\xe1\x3b\x2c\x0d\x86\xab\x27\xec\xec\x32\x56\x3d\x92\x69\x70\x35\x92\x87\x40\x67\x91\x99\x28\x96\x34\x6f\xcb\x2e\xf4\xb5\xbb\x32\x5d\x0d\x6e\xea\x9e\x67\x76\x49\xfc\x94\x24\x78\xa6\xbb\x3d\xae\x86\xf3\x1d\x16\x85\x88\x11\x36\x05\xee\x44\xbe\x95\x10\x85\x49\x22\x09\x42\xef\xe3\x38\x50\x1b\x2f\x27\x37\x8d\x13\x0a\x24\x17\xcb\x60\x21\xa9\x81\x63\xb6\x7c\xdd\x71\xa5\x41\x6f\x2f\x39\xd7\x59\xcb\x6e\x73\xf6\x5e\xad\xd7\x4a\xe1\xbf\xb0\xc2\x1d\x2f\x72\xa2\x45\xa7\xc2\x5b\xfe\x75\xd0\x00\x8d\xf5\xc8\x53\x0a\xd7\x0a\x6d\x2f\x19\xed\x54\x54\xee\x94\xd0\xe3\x5a\x6c\x67\x3b\x4b\xe5\x2d\x9c\xab\x8d\xbf\xec\xb4\x5b\xf4\x8a\x7f\xab\x34\x66\x6b\x80\x6a\x98\x4e\xc1\xff\x26\x5d\xed\x74\xf7\x27\xb4\xcc\xa2\xeb\x81\xfc\xd3\xff\x61\xc4\x01\x26\xfb\x5b\xd9\x17\x63\xa6\x8a\x05\xf5\xa8\x90\xb0\xc4\x32\x5a\x63\x5c\xd7\x0a\x71\x58\x86\x9f\x42\x4a\x76\xb4\xd0\x7b\x93\x04\xad\x34\x4f\xf8\x72\x8a\x08\x27\xac\x13\xa0\xaa\x5d\xa7\x29\xe8\x56\xcb\x50\x05\xae\x5f\x61\x19\x8a\x64\x38\x9a\xf7\x28\xb2\xa7\xd2\xde\x81\x0a\x11\xa4\x52\x91\x70\xb8\x55\xf5\xd9\x7e\x7f\x59\x85\x85\x26\x20\x4c\xfd\xaf\xe0\x20\x96\xf0\x4d\x1a\xe4\x9b\x60\x21\x27\xd6\xbe\x99\x5b\xb2\xed\xda\xd9\xb9\xcb\xda\x55\xec\x57\x35\x38\x25\xb7\x7a\x6b\xae\xd2\x96\xe4\xda\x5c\x63\xed\x70\xc4\xfe\xe3\x0f\xb0\x0b\xcf\x16\x32\x8f\x65\xae\xc0\xdf\xb7\xa2\x40\x2e\x70\xaa\x46\xac\xe1\x72\x15\x67\x66\x3d\xa5\x2e\x76\x18\x73\x89\x4c\xe1\x2b\xe6\xe9\xde\x37\x07\x19\x6a\xb7\x2e\x5c\xa3\xf5\xf0\x79\x05\xdf\x3e\x8d\x79\x59\xdf\xf5\x39\xb3\xbe\xf6\xdc\x3b\xee\x66\xeb\x2c\xc5\x91\x69\xcf\xdb\xc0\x6f\x13\x08\xed\x5c\xa2\xbb\x95\xf7\x71\x3c\x6e\xaf\xed\x8d\x9a\x89\x25\x8c\x63\x09\x55\x5a\xd0\x8e\xd8\x97\x64\xde\x20\xcb\x28\x20\xf5\x86\x6d\xdb\x44\xa3\xcb\x81\x07\xff\x6d\x0e\x56\x56\x72\x9b\xc7\xc1\xb4\xf0\x9d\xf3\x1a\xdb\x4d\x69\xe5\x7d\x1c\x63\xdc\x65\xb0\x8e\xdc\xa0\x4a\xf5\x50\x92\xfa\xea\xf8\x35\x90\x2a\x84\xb4\x73\xc5\x80\x1e\x7b\xb9\x38\x2e\x63\x98\x94\xd1\xa7\x00\x6d\x01\x37\x6d\xd4\x79\x63\xb4\xb7\x7c\xa3\xce\x1c\x23\x55\xaf\x54\x93\x86\x2a\x92\xa9\xbe\x34\x4c\x7a\x61\x78\x9d\x60\x58\x1c\x05\x44\xde\x11\x3a\x36\xff\x1e\x8f\x45\xad\x96\xfe\xe2\x46\x95\x09\x6f\x58\x94\x1c\x53\x95\xb8\xbb\xb5\xa3\x34\x70\xf6\xc3\x1e\xea\x0a\x75\xbf\xff\x08\x73\x30\xdb\x61\xaf\x15\x5e\x2b\x11\xab\x0a\xd6\xd5\xb0\x52\x3c\xc6\xe3\x4e\x5d\x1b\x40\x8b\xa1\x12\x87\xe0\xad\xd9\x3a\x11\xc3\xae\xfe\x09\x9c\xca\x08\x56\xa3\x39\x20\xaf\x85\xc0\xfc\xb1\x13\x7b\x46\x72\x2b\x26\xff\x0f\xca\xee\xc2\xb9\x40\x2e\x9d\xc3\x24\x81\x68\x4d\x2d\x81\x3c\x14\xe4\x4e\xc1\xd5\x21\x58\xfd\x65\xa5\x6e\x35\xe1\x68\xfa\xe8\x28\xe6\x49\xdd\xa4\x61\x82\x29\xd8\x36\xf0\x5b\x85\xb3\x65\x01\xab\xb9\x6a\x4f\x56\xd4\xa6\x16\x5d\x1e\x87\x31\xa3\x8f\xae\x88\x58\xfe\x6c\x5a\x1d\xac\x6c\xf6\x3e\x8e\xab\xc6\xc9\x9e\xc4\x68\x1a\x73\x18\x4b\x2c\x9b\x24\x1c\x0a\xaa\x59\x72\x9a\xaa\xd9\x25\x5c\xaf\x31\x7a\x54\xd8\x16\x92\x3b\x15\x2c\x54\xb0\x4e\x0a\x0c\xe3\x17\x3d\xf7\x8d\xe1\xd3\x0b\x03\x81\x0d\xff\x4e\x3d\x27\x61\x82\xc1\x2a\x00\x8c\x57\xf8\x4e\xfb\x81\x28\xd7\xfc\x9c\x24\xa4\x64\x61\x8a\xbe\x69\x65\x88\x31\xba\x7d\x87\x25\x95\xf5\x57\x73\x2e\x2d\x2f\x30\xf8\x67\x28\x59\xaf\x77\x6a\x71\xfd\x2c\xc9\x69\x3d\x6e\x7b\xa6\x11\x4f\x27\xcd\x9c\x12\x94\xd5\xf0\x61\x0d\x53\xe2\xcc\x40\xd8\x1a\x0a\xb9\x25\x38\x89\x26\x62\xb5\xa4\x66\xa9\x52\xaf\xac\xf4\x75\xd8\x8b\x6b\xb6\x26\x6d\x3b\xf1\x02\x7a\xfe\x25\x62\x33\x67\x50\xa4\x6d\xd6\x9a\xdb\x1c\x7d\xd3\x37\xed\x4d\xed\x81\x95\xde\xfc\x68\x0d\xdc\xea\xa2\xb4\xe3\x1d\x3b\xbf\x0d\x50\xae\x26\x0f\x9d\x0c\xd7\x83\x88\x7a\x77\x99\xa7\x11\xa2\x1e\x44\x90\xe8\xc3\xcb\x3c\x88\x58\x3e\x88\x8f\xad\x48\xae\x09\x3a\x7e\xdb\x17\xed\x5c\xd7\xe1\xe8\xde\x15\xee\xac\x2c\x7a\x16\x70\x4e\x8e\x7f\x83\x93\xc6\xb9\xd5\x79\xda\x71\xbb\x21\x48\xbd\x6d\x77\x28\x49\x9d\xec\x07\x56\x12\x3b\x41\xb4\x2a\x65\x99\x81\xd2\xa0\x98\x76\x2d\xdf\x74\x36\x9d\xaa\x39\x22\x52\xa3\x55\xc0\x84\xf3\xf5\x12\xc6\xdf\x06\x3f\xc8\xb1\xc3\xb7\xef\x84\x04\xb4\x92\x5b\x9a\xef\x50\xe9\x84\x3e\x7d\x66\x60\x58\xdc\xc8\xc3\x9e\xdf\xb1\xfa\xa4\x76\xf2\x5e\xd7\x66\x8f\x1c\x1c\x66\x3b\x8e\x79\xe8\xd9\x93\xdc\x73\x3f\x1c\x5b\x86\x56\x7a\x10\x71\xdb\x3b\x9b\xd1\x66\xc8\xef\x0f\x10\x3f\xc1\xfd\xbb\xeb\x68\x65\x84\x98\xf1\x72\xa8\x92\xb6\xdb\x15\xcd\x17\xd9\xdc\x29\xa8\xcf\x88\x0b\xc7\x79\xcf\xe2\x46\xaa\x5d\x60\x09\x0f\x1f\x87\x90\xc2\xda\x8c\x6b\x75\x1e\x80\x82\x9e\x3e\xc6\x12\xe6\x10\x6e\x36\x98\xc5\xb4\x46\x35\xf8\xdb\x37\xb7\xbf\x4c\x6a\x32\xd5\x57\x85\x87\xbe\x0c\xdc\xd4\x6b\x63\x67\xbd\x53\x6b\x8b\x9b\x8e\x8d\xc0\x83\x8e\xd5\x5c\xc7\xda\x35\x6f\x29\xab\xab\xc5\x1b\xc8\x7a\xdf\xb4\xbb\x3a\xb3\x61\xde\x7a\xb8\x6a\xee\xba\x95\x67\x32\x50\xaf\x7a\xe4\x31\xfa\x91\x6d\x05\x01\xf4\x38\x29\x1f\xfe\x32\x53\x0a\x7a\x35\x4c\x9e\xc2\x97\x7a\x99\x04\xb3\xc9\xe2\x46\xfa\xf0\x1f\x73\xf8\x81\xf7\x65\xb6\xea\x6d\x5a\x4b\x4e\xd9\xce\x2f\xf9\x16\xe4\x3a\xdf\x26\x31\x6c\x25\x0e\x5a\x57\x64\xb2\xc4\x30\x0e\x60\x51\x1a\x25\xf3\x8e\x18\x03\x33\x2b\xb1\xa0\x9a\x79\x2b\xc3\x15\x9a\x42\x51\xef\x4f\x9a\x83\x69\xc6\x69\x4f\xb5\xf7\x31\x0e\x02\xd0\xab\x26\xb2\xbf\x72\x9c\x1e\xc3\xfe\x48\xb7\x1d\x24\xb4\xdd\xe6\xd2\xf2\x9b\x46\x9c\x6b\x3b\xe6\xd9\x1e\xa9\xb5\xb4\xdf\x3b\x93\x9c\xde\x62\xe0\xdc\x26\xae\x01\xbb\xb3\x7a\xb8\xae\xe4\xa3\xda\xaa\x83\x35\xce\x32\x4c\x18\x6a\xda\x5c\x1d\x25\xc0\xe1\x3c\xd7\x35\xac\xb0\x7b\x2e\x3e\xc0\xe9\x6e\xd1\x57\x3b\xda\xd4\x92\x0c\xcd\xe5\x6e\x37\x13\xfa\xcb\x3a\x3a\x90\x06\xf9\xc6\x4c\xa6\x09\x73\x36\xdd\xcc\x9c\xbf\xac\xce\xda\x56\xc4\x26\xce\x66\xbe\x3f\xb4\x26\x91\x9d\xf8\xfa\x84\xa2\xb3\x72\xf9\x62\x96\xd6\x23\xb9\x6a\x98\x9d\x24\xaa\x15\xb3\x27\xe1\xca\xdc\x31\xc4\x5b\x26\xe4\x6e\x42\x58\xe1\x42\x64\x44\x31\x2f\xf8\xa8\x71\x0e\x2b\xe4\xd3\x25\xd5\x78\xaa\x45\x57\x64\x51\xc1\xe7\xbf\x30\x9e\xc5\x58\x7d\x9e\xf2\xc4\xca\x33\xbb\x81\x8a\xc3\xc9\xa0\xa4\xe6\x19\x78\xf8\x58\x4b\xab\xd7\xbb\xd2\x05\x8c\xb9\x35\x85\xef\xb9\xd1\x4e\x30\x73\x66\x92\x7e\xe7\xb9\x4c\xf7\x3c\xe6\xbb\x53\x87\x96\x75\x9e\x18\xde\x66\xd5\xbc\x56\x4e\xbc\xec\xd9\x10\x68\x9c\xc1\x34\xa7\x50\xf8\x69\xdb\xa2\xdd\xa3\xb4\x10\x1a\xdd\xf4\x4a\xec\x50\x63\x17\xee\xa9\xbb\xc6\x28\xcf\x62\xce\x73\x18\xb2\x35\xed\x03\x3c\x20\x32\x73\xbc\xb0\x9a\xd7\x5b\xfb\x54\xe4\x73\x12\x4b\x9e\xe5\x98\xef\xa6\xcb\x57\x09\x88\x08\xca\x68\x8d\x69\x78\xd0\x98\x13\x62\x4a\x43\xd7\x57\xa7\x4b\xf4\x80\xa1\x4a\xc2\xa4\x08\x96\xa4\x61\x26\xf9\x24\xca\x68\xcd\x52\xb1\x72\x0f\x58\xf5\x2c\xb3\x8e\xa2\x50\xa2\x63\x9d\x2b\x3b\xdd\x57\x36\x6f\x0e\x1c\x9b\x3b\x44\xdd\xf6\x54\xc7\x3b\x38\xa2\x99\xb8\x93\xc4\x6d\xbb\xd6\xf3\x11\x5d\x55\x2a\x5b\xb4\x47\x74\xf6\x78\xae\x36\xea\x79\x13\x3a\x35\x98\x53\x91\x9f\x68\x55\x13\xbb\x65\x28\x12\xfb\x6c\x4f\x47\x0c\xd4\x42\x74\x0d\xe7\xa6\xd0\x6b\xf0\x7a\xf8\x76\xae\xc5\x83\x3f\xd7\xd2\xf5\x08\xf2\x24\x7b\x5b\x23\xb0\x6d\xf6\x98\xe5\x4f\x59\x63\x70\xab\xcc\xfb\xad\x1c\x2b\x65\xf9\xda\xe1\xef\x50\xd7\x35\xed\x93\x36\x83\x0e\xbf\xe8\x38\xc3\x24\x96\x44\xb1\xc6\x92\xe8\x72\x63\xed\xc3\x0c\x09\x8d\x20\xce\x55\xa9\x90\x69\xa8\xc6\xc4\x15\x05\x26\x47\xa5\xd5\x00\x2e\x8c\x00\xb6\xcf\x4f\xb5\x10\x15\x0e\x7c\xcd\xe1\xab\xd7\x34\xf7\x17\x88\xda\xdd\x36\xdf\x99\xad\x73\x66\x2d\x98\xb8\x93\x35\x5d\x15\x9a\x93\x5a\x15\x42\x5c\xbb\xe2\xf3\x06\xa3\x92\x34\x44\xaf\x7d\x7b\xcf\x95\xae\x65\x58\x7d\x52\x52\xd9\xd7\xb4\x05\x69\x70\x87\x65\xe7\x3c\x6a\x67\x9f\xb2\xe4\xfa\xc5\x2d\x5f\xba\x99\x38\x01\x5c\x56\x0a\x76\x8a\x84\x53\x93\xba\x2e\x1e\x14\xba\x9c\x21\xc6\x81\x31\x5c\x67\x6a\xaf\x4f\x9e\xfd\x33\x94\x66\x33\x9f\x2d\xb7\x0b\x0b\xc3\x93\x79\xe1\xc8\x14\xf0\x46\x83\xa7\xb3\x62\xcc\x29\x03\xd9\xa3\x6b\x85\xae\xad\x0d\xe7\x8b\x5b\x3d\x34\x5a\x90\x1e\x4c\x35\x51\xe1\x96\xad\x5a\x67\x8d\xf9\x6c\x1f\x24\xf2\xcc\x04\x28\xa2\x79\x64\x51\x72\x64\x45\xc2\x14\x8f\x2a\x4a\x8e\xa8\x48\x6a\x71\x8f\x2c\x4b\xba\xb1\x79\x4e\x61\xf2\x97\xa2\xb2\x27\xf5\xd5\x7d\xc4\xc0\xa0\x7c\x18\x7a\xc7\xd4\x3d\x0a\x67\x8a\x22\x9f\x90\xb0\x46\xff\xb9\x95\xa3\xbe\xee\xe4\x66\x44\x38\x36\xb9\xbd\x65\x55\xfb\x55\x82\xe7\x70\x16\x6d\xe4\xd1\x37\xca\xa4\x66\x72\x34\x62\xd8\x0e\x64\x53\x37\xf6\x9d\x8e\xe2\xc3\xb9\xd6\x49\x9e\xed\x9c\x7b\xed\xfc\xb2\xce\xcd\xba\xea\xd0\x5a\x47\x8f\xae\x67\x38\x56\x8f\x4e\xa4\x8e\x49\xb3\xce\x72\x43\x89\xd6\x1d\x62\x7f\x56\xa6\x6d\x8f\xc4\x3f\x27\x71\xf2\x0a\x5a\x8c\x89\x93\x06\xbf\xa2\x9c\x69\x33\x69\xfd\x1a\xc3\xa4\x35\x9d\xc9\xf8\xa0\xfe\x60\xe1\x6e\x7e\x8b\xd1\x7f\x2c\xe4\x40\x6b\x6d\x14\xe5\xa4\x32\x33\x6d\xeb\x3d\x1e\x42\x4f\x7f\xf4\xac\x43\x21\x16\x56\x95\x03\xf5\x1d\x1e\x3a\x36\x4a\xf3\x0f\x4c\x74\xa0\x3e\x32\x4a\x1f\x84\x75\x47\xd2\x76\x22\x6d\x0f\xb6\xcf\x0c\xb6\x6f\x86\xea\xbe\xd8\x99\x06\x2c\x55\x7f\xc6\xfd\x33\x62\x97\x1d\x82\x1a\xc1\x8b\x4c\xc8\x1b\xc8\xa6\x36\x6c\x6d\x19\x37\x26\x11\xd5\x6f\x2c\xfb\x41\xc2\xbf\xb0\xe8\xcc\xe6\x6f\x00\x92\x9a\xd9\x01\x90\x7c\x6d\x9b\x4c\xcd\x2d\x07\xb3\x65\xaf\x21\xe0\x20\xe0\x4d\x6c\x3e\xd4\x1b\xaa\x63\x47\x76\x92\xe2\xa9\x13\x3d\x67\xe7\x27\x89\xe5\x4c\x9d\xd3\x3c\x25\x5e\xd5\x2b\x34\xf2\x12\x4f\x9b\x0e\x6d\xed\x9a\x13\x51\xfe\xa1\x5f\xa2\x1f\x39\xcc\x3b\xc6\x86\xd8\xb4\xa1\xe2\xb4\x4a\x3c\x7a\x4c\x76\xdc\xbe\x2e\x3f\x6c\x2b\xdb\x1e\xf8\x91\xaa\xe9\xfb\xa4\xcc\xd5\x4f\xcf\xd4\xff\xd0\xc0\xb7\x94\xae\x14\x6e\x5c\x4c\xf9\x14\xd1\xe4\x1f\x41\x93\x6d\x4f\xb6\xc5\xe2\x46\xba\x8e\xf2\xf0\xb1\x2a\x62\x9b\xee\x62\x29\x78\xc0\x5b\x3a\xcc\x71\x9e\xa2\x7b\x9c\xa5\xef\x2c\xc2\x19\x13\xbc\xca\xb5\x2c\xa1\x5f\x2f\x45\xbc\xb7\xcb\xcb\xe6\x81\x05\x1e\xce\xd5\x40\xb5\x3a\xc6\xef\xa7\x3c\x4d\xed\x59\xde\xd7\xf1\xfc\xb4\x49\xe0\xc0\x2c\xb0\xaa\x7f\xb5\x10\x82\xea\x97\xf3\x9a\x34\x0d\x49\x7d\x1e\xe2\xc8\x08\x60\x4e\x41\x9c\x82\x39\x7b\x85\x2f\x1a\x01\x06\xc6\x86\x87\x4f\xd3\x38\x20\x39\x0b\xbb\x47\x46\x89\x51\xd3\x44\x07\x62\x86\x56\xdf\x89\x51\xc3\x18\xca\xc4\x0d\xb6\x26\x39\xb5\xe9\x9e\xad\x5a\xf4\x0c\x63\xfe\x79\x21\xa4\xc7\xa0\x67\x9a\xa8\xaf\x26\x3b\xec\xdf\x43\xe0\xe9\x77\xf3\x23\x4e\xe2\x9c\xee\xed\xe7\x3b\xbb\xee\x1a\x8e\x74\xf6\x73\x9a\x13\x7b\x85\x2f\x9f\xee\x07\xcf\x13\xfc\xf5\xe9\x9e\xd8\xed\x6f\x16\x9f\xd6\x22\x5a\x5b\x9b\x9f\xba\x16\xae\x3c\xb5\xe1\xa6\x66\x33\xf4\x1c\xab\x58\x8c\x74\x77\x8c\x5f\x5f\xca\x3f\xf2\xc0\xe8\x51\xb5\xb1\xb5\x19\xc9\x5a\x20\x9e\x7b\x3b\xdd\x3e\xfd\x77\x6e\x47\xf2\x8f\xbf\x97\xca\x67\xf8\xc5\xcf\x6a\x74\x89\xaf\x23\x5a\x98\xcf\x0e\xa8\x5f\x38\x98\x9a\xea\xa6\x79\xc6\xfa\xcf\xea\x6e\xad\xc3\x6c\xed\x7e\x87\xfb\x2c\x06\x40\xff\x59\xa8\x3e\x08\x74\xf8\xdc\x70\x5f\xfb\x59\x90\xa8\x38\xfd\xe2\x90\x78\x2b\x9f\x6d\x1a\xfe\x8b\xf7\xb4\x6d\x13\x5b\x47\xbd\xea\x8f\xff\x1f\x00\x00\xff\xff\x1c\x30\xb3\xac\x95\x51\x00\x00") +var _templateBuilderMutationTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x5c\x59\x93\xdb\x46\x92\x7e\x26\x7e\x45\x9a\xd1\xf6\x00\xbd\x14\x68\xcf\xdb\xca\xcb\x07\x8d\xda\xf6\x30\x62\x57\xda\x58\xb5\xf7\x45\xa1\x18\x43\x40\x92\xac\x15\x0e\x1a\x05\xb2\xbb\x83\xe6\x7f\xdf\xc8\xac\x2a\xa0\x0a\x17\x0f\xb5\x6c\x29\xc2\x12\x89\x23\x2b\x8f\x2f\xaf\xca\xa2\x0f\x87\xf9\xad\xf7\xba\xd8\x3e\x95\x62\xbd\xa9\xe0\xef\xdf\xff\xf0\xef\x2f\xb6\x25\x4a\xcc\x2b\xf8\x39\x8a\xf1\x63\x51\x7c\x82\x65\x1e\x87\xf0\x2a\x4d\x81\x1f\x92\x40\xf7\xcb\x3d\x26\xa1\x77\xbf\x11\x12\x64\xb1\x2b\x63\x84\xb8\x48\x10\x84\x84\x54\xc4\x98\x4b\x4c\x60\x97\x27\x58\x42\xb5\x41\x78\xb5\x8d\xe2\x0d\xc2\xdf\xc3\xef\xcd\x5d\x58\x15\xbb\x3c\xf1\x44\xce\xf7\xff\x73\xf9\xfa\xa7\x37\xef\x7e\x82\x95\x48\x11\xf4\xb5\xb2\x28\x2a\x48\x44\x89\x71\x55\x94\x4f\x50\xac\xa0\xb2\x16\xab\x4a\xc4\xd0\xbb\x9d\x1f\x8f\x9e\x47\x32\xc0\xba\xa8\x9e\xb6\xf8\x12\x30\xaf\xd6\x45\x28\x8a\x39\xe6\x15\xfd\x17\xcf\xd7\x98\x87\xbf\x94\xd1\x76\x03\xe6\x71\x48\x70\x25\x72\x84\x69\xb6\xab\xa2\x4a\x14\xf9\x14\xf4\x8d\x9b\xed\xa7\x35\xbc\x5c\xc0\xc7\x48\x22\xdc\x84\xaf\x8b\x7c\x25\xd6\xe1\x7f\x47\xf1\xa7\x68\x8d\xf4\xd0\xe1\x00\x15\x66\xdb\x34\xaa\x10\xa6\x1b\x8c\x12\x2c\xa7\x70\xc3\xaf\x8b\x6c\x5b\x94\x15\xf8\xde\x64\x1a\x17\x79\x85\x8f\xd5\xd4\x9b\x4c\x57\x19\xff\x23\x9f\xf2\x78\xea\x79\x93\xc3\xe1\x05\x94\x51\xbe\x46\xb8\xc9\x69\xa1\x9b\xf0\x4d\x91\xa0\x24\x02\x93\xc9\x94\x38\xe8\x2e\x3a\xa7\xcb\xb9\x75\x61\xaa\xe8\x60\x9e\xf0\xc2\x93\xa9\x2d\xf4\xd4\x0b\x3c\x2f\x2e\x72\xc9\xac\xcc\xe7\xf0\x76\x8b\x25\x4b\x09\xa4\x21\x19\x7a\x93\xb7\xdb\xd7\x25\x92\x04\x00\xb0\x20\x8d\x85\xe6\x0a\xdd\xbb\xc3\x14\xdd\x7b\xea\x4a\x73\xef\x6d\x8e\xad\x7b\x6f\x73\xbe\xfd\xeb\x36\x69\x91\x55\x57\x9a\x7b\xf6\xab\xf5\x15\x8f\xf9\x24\x45\xd4\x2c\x8e\xea\xe9\xfe\x69\x8b\x4a\x27\x6f\xa2\x8c\x14\x02\x0b\x98\x3a\x17\x5c\x0d\x05\x6c\xdb\x01\x72\x6c\x76\x03\x04\xbe\x97\x87\xff\xa5\xbf\x6a\x6a\xde\x7c\x0e\xce\x53\xc7\x23\x94\xa8\xdd\x44\x42\x94\x43\xd1\xe8\x78\x13\x55\xc0\x0f\xa2\x64\x1c\xbb\x8c\xe6\xbc\xac\x86\xf8\x9a\x50\x19\x7a\x24\x73\x87\xbe\xac\xca\x5d\x5c\xc1\xc1\x9b\xc4\x8c\x07\x6f\x52\x6c\xe1\xed\xd6\x9b\x54\x4f\x5b\xba\x29\xf2\x35\xc9\x48\xb4\x97\x77\xe1\x3f\x76\x22\x4d\xb0\xfc\x59\x60\x4a\x12\xc3\x6d\x7d\x87\x74\xc5\x5a\xb3\x34\xba\x6a\x89\xc9\xaf\x69\xdd\xd2\x8b\xab\x7e\x7a\xab\x86\x18\x53\x13\x2b\x88\xf2\xc4\x5c\x0f\xdf\xec\x32\x2c\x45\x4c\xdf\x5f\x17\xf9\x1e\xcb\x0a\x93\xfb\xe2\x1f\x91\x14\xb1\x7a\x67\x12\x25\xc9\x05\xe4\xb5\xf1\x9c\xcf\x71\x8a\x51\x89\x89\x66\x38\x8b\xb6\xef\x95\x2a\x3e\x28\x75\x1d\x5c\x39\x51\xcb\xf9\x53\xb2\x46\xe9\xf0\x7d\x83\xe1\xaf\xb9\xf8\x7d\xa7\x97\x63\xa9\xb1\x9f\x2d\x54\xd2\xd9\xaa\x54\x2c\xa5\x72\xfc\x6d\xe2\xae\x97\x80\xc5\xec\x64\x52\x62\x56\xec\x31\xf9\x0c\x12\xb6\x7e\x8c\x82\xfa\xc9\x7d\x2c\x8a\xd4\xd5\x67\x52\xe4\xa8\x2f\x17\x69\xf2\xbf\x51\xba\x43\x58\xed\xf2\xd8\xd7\x11\x8c\x2c\x49\xff\x06\xe0\xdf\x3a\x40\x9e\x01\x96\x65\x51\x06\xde\x64\x5b\x62\x22\x62\x86\xfb\xfb\x0f\xf5\x97\xd0\x79\xda\x3b\x7a\xde\x3e\x2a\xe1\x5f\xec\xf9\x06\x76\xb0\xd0\x54\x2d\xdc\x07\x7e\x2e\xd2\xc0\x75\xca\xb7\x5b\xe3\x9a\xdb\x52\xe4\x15\xf8\x71\x94\x61\x6a\xc8\x07\x30\x55\x0f\x4c\x7b\x3c\x55\xbf\x7a\x3c\x42\x94\xa6\xc5\x03\x41\x26\x8f\xd6\x98\x51\x7a\xe3\x8c\x82\x50\x2f\xae\xfc\x6c\xa7\xfd\x78\x27\x45\xbe\x66\x5d\xd0\xd7\x28\x85\x82\x49\xc9\x1e\x77\x6d\x16\x61\xd5\x75\x44\xf2\x88\xab\x1c\x1f\xda\x2e\x1e\x73\xc8\x95\x74\xab\xe1\x62\x55\x94\x3d\x61\x03\xf3\x4a\x54\x4f\xa1\x47\x0b\xf4\x90\xf2\x63\xcd\xfd\x0c\x38\x4a\xd0\x3f\x95\x84\x30\x0c\x7b\xf9\x0c\xa0\xcd\x23\xc5\x99\x8c\x34\xfc\x5d\xeb\xc6\x81\x30\xc5\xa4\x5f\x82\xfe\x13\xcf\xbc\xc9\xa4\xd8\xd6\xdf\xe9\x4f\xb1\xa5\x8b\xd5\x93\x73\xb5\x13\xa6\x67\x0d\x40\x95\x07\xbf\x84\x2c\xfa\x84\x7e\x8f\x1f\x07\x33\x6f\x72\xf4\x26\xa4\x8d\x7f\xb1\x34\xc4\x9c\x72\x6b\x16\xed\xc0\x3c\x54\x7e\x16\xf0\x73\x25\x56\xbb\x32\x87\xcc\xd3\xf1\x5c\xbf\xa0\xf0\x32\x7d\x10\xd5\x66\x5a\xf3\x31\x5d\xde\xd9\x50\xa1\x47\x29\xde\x62\xa5\xe2\xf5\xf2\x0e\x56\xec\x30\x2d\x7c\x68\xe5\x37\xaf\xf8\x22\x81\x76\x98\x0d\x06\x80\x71\xa8\x59\x64\x88\x64\x1d\x03\x04\x2c\x11\xf9\x88\x4f\x51\x01\xcb\x52\x39\x18\x7d\x29\xf2\x18\x81\x0a\x88\xf0\x6d\x1e\x23\x5d\xd9\xb3\xa3\xba\x1e\xe9\x4d\x26\x81\x37\x99\x64\x61\xed\xc8\x0b\xed\xca\xd5\x23\x9c\xeb\xce\xcc\x05\x2f\x18\xde\x15\x3e\xbf\xae\xaf\x4d\xc4\x0a\xb2\x90\xe3\x85\xfa\xce\x3c\x2e\x60\x95\x55\xe1\x4f\xf4\xee\xca\x9f\xfe\xbe\xc3\xf2\x89\xdc\xa6\x48\x13\x60\x1e\x25\x6c\x0b\x59\x35\xe8\x16\x12\xf2\xa2\x52\xce\x88\xc9\x34\x60\x4a\x47\x15\x4b\x35\x59\x7e\x8f\xf9\x81\x05\x64\xe1\xeb\x54\x60\x5e\xf9\x81\x1b\x50\xc2\x5f\xb0\x22\xc1\x66\x20\x12\x4d\x84\xfe\x3e\x06\x2a\xa4\xb2\xa6\x1b\x42\x9e\xba\x9d\x85\x83\xf9\x72\x01\xdf\x89\x84\x90\x64\xe1\x67\x00\x3e\xc3\xc8\x21\xa9\x5d\xb7\x3d\x09\x21\x2a\x07\x5a\x76\xfc\x4c\x08\xf5\xd8\xff\x22\xdb\xeb\x35\x88\xb1\x19\xe4\x22\x3d\x4b\x77\xf4\x74\xb8\xbc\xd3\x0a\x9c\xcf\x41\x59\x0d\x14\x31\x09\x11\xc7\xb8\xdf\x28\xf8\xab\x3b\xbf\xc1\xaa\x2c\x32\x57\x39\xb0\x6c\x05\xe4\x87\x48\x12\x2d\x7c\xc4\x78\x57\x61\x42\x55\x53\x04\x55\x19\xe5\x32\xe2\xa0\x0c\x3e\x11\xbc\x7f\x0c\x66\xee\xf5\x28\x85\x58\xad\x2f\xa4\x66\x81\x7a\x15\xd6\xbd\x9f\xb5\x2b\xad\x00\x0c\xc4\xe0\x56\xb3\x4d\x45\x97\xfa\x44\x11\x51\x5d\x3c\x98\x28\x98\x85\xea\xd3\xd1\x3c\x14\x8a\x5c\x54\x7e\x50\x9b\x47\x5d\xd5\x8a\xb8\x7f\x6c\x94\x90\x2b\x0d\xdc\x3f\xfe\xc6\x51\xde\xf0\x20\x55\xcd\xf8\x80\x25\x3a\xb2\x5a\x12\xc9\x1f\x89\x96\xa8\x6c\x5a\x6c\x34\x28\xaa\x0d\x96\x0f\x42\xe2\x88\x7c\xf7\x8f\x3e\x19\xfd\xfe\xd1\xb6\xb4\x58\xc1\x84\x22\xeb\x27\x92\x31\x0b\x93\x52\xec\xb1\x0c\xfd\xdb\xea\xf1\x8e\x3f\x06\x3f\xc2\x37\xc5\x27\xc6\x84\x81\x84\x48\x67\x8e\xbb\x9b\x7e\xe9\x78\x7c\xd9\xf1\xf0\x72\x97\xe7\x14\x09\xda\x36\x9b\xaa\x78\x5d\x3d\xb2\x6a\xef\x1f\xfb\xd4\x5a\x3d\xb6\x55\x4a\x8e\x4e\x58\x64\xef\x54\x05\x1c\x43\xf1\x57\x89\xe5\x1d\xf7\x72\xaa\x9c\x99\xcf\xe1\x1d\x56\xcb\xbb\xc6\x27\x55\xa4\xd4\x7e\x28\x12\x15\xda\x43\x78\x53\x54\xa8\xd4\x4e\x4d\x25\xbf\xd8\x94\xf0\x42\x42\x91\xa7\x4f\x10\xc5\x31\x6e\xc9\x18\x54\x1c\x50\xae\xa6\x9b\xc5\xaa\x2f\x35\x0b\x6e\x5a\x8c\x05\xba\x9e\xc9\x5c\x0d\x24\x8c\x33\x23\x93\xdd\xf1\xcd\xe7\x94\xa6\x0c\x18\x74\xd6\x52\xa2\xea\xd6\xa2\xf1\x2a\x5b\x54\x7a\x8e\x91\x64\x24\xdc\x47\x22\x8d\x3e\x52\xd3\xbd\x22\x78\x3d\x44\x12\xb6\x65\xb1\x17\x09\x26\x50\x15\xfc\xc6\x47\xc5\x50\x83\xaf\xae\x74\xcb\x3b\x02\x58\x8f\x74\x33\xc0\x47\x21\x2b\xc9\x25\xa6\x81\xdd\x98\xb0\x0b\x32\xb3\x05\x3a\x3b\xb9\xdf\x0e\xbf\x38\x83\xaa\xdc\xa1\x0e\xde\xad\x26\xc7\x6a\x6e\xe8\x75\xd5\x19\xd7\xb5\x81\xd5\x57\x4f\xc3\xa9\xee\x5d\x64\x15\xe5\x55\xfd\xc6\x96\x4b\x0f\x8c\x91\xdc\xa2\xee\x76\xde\x71\xbd\x42\x15\xd2\x81\x94\x87\xbf\xd3\x83\xd3\x6c\xca\xa1\x9a\xdf\x5a\xc0\x94\x4d\x62\x2e\x35\xfd\x0c\xdc\xb0\x2e\x89\xbf\x55\x5d\x0d\xbf\xc3\xca\x60\xb8\x7e\xc2\xce\x2e\x53\xd5\x23\x99\x06\x57\x23\x79\x0c\x74\x16\x19\x5f\xb1\xa4\x79\x5b\xf5\xa1\xaf\xdb\x95\xe9\x6a\x70\xdb\xf4\x3c\xf3\x5b\xe2\xa7\x22\xc1\x73\xdd\xed\x71\x35\x5c\xec\xb1\x2c\x45\x82\xb0\x2d\x71\x2f\x8a\x9d\x84\x38\x4a\x53\x49\x10\x7a\x95\x24\xa1\xda\x78\xb9\xb8\x69\xf4\x29\x90\xdc\xac\xc2\xa5\xa4\x06\x8e\xd9\x0a\x74\xc7\x95\x85\x83\xbd\xe4\x42\x67\x2d\xbb\xcd\x39\x7a\x8d\x5e\x6b\x85\xff\xc2\x0a\x77\xbc\xc8\x89\x16\xbd\x0a\xef\xf8\xd7\x49\x03\xb4\xd6\x23\x4f\x29\x5d\x2b\x74\xbd\x64\xb2\x57\x51\xb9\x57\x42\x8f\x6b\xb1\xbd\xed\x2c\xb5\xb7\x70\xae\x36\xfe\xb2\xd7\x6e\x31\x28\xfe\x5b\xa5\x31\x5b\x03\x54\xc3\xf4\x0a\xfe\x37\xe9\x6a\xa7\xbf\x3f\xa1\x65\x96\x7d\x0f\x14\x1f\xff\x0f\x63\x0e\x30\xf9\xdf\xaa\xa1\x18\x33\x53\x2c\xa8\x47\x85\x84\x15\x56\xf1\x06\x93\xa6\x56\x48\xa2\x2a\xfa\x18\x51\xb2\xa3\x85\x5e\x99\x24\x68\xa5\x79\xc2\x97\x53\x44\x38\x61\x9d\x00\x55\xef\x3a\xcd\x40\xb7\x5a\x86\x2a\x70\xfd\x0a\xab\x48\xa4\xe3\xd1\x7c\x40\x91\x03\x95\xf6\x1e\x54\x88\x20\x95\x8a\x94\xc3\xad\xaa\xcf\x8e\xc7\xdb\x3a\x2c\xb4\x01\x61\xea\x7f\x05\x07\xb1\x82\x6f\xb2\xb0\xd8\x86\x4b\xe9\x5b\xfb\x66\x6e\xc9\xb6\xef\x66\xe7\x3e\x6b\xd7\xb1\x5f\xd5\xe0\x94\xdc\x9a\xad\xb9\x5a\x5b\x92\x6b\x73\x8d\xb5\xd3\x11\xfb\x8f\x3f\xc0\x2e\x3c\x3b\xc8\x3c\x97\xb9\x12\x7f\xdf\x89\x12\xb9\xc0\xa9\x1b\xb1\x96\xcb\xd5\x9c\x99\xf5\x94\xba\xd8\x61\xcc\x25\x32\x45\xa0\x98\xa7\x7b\xdf\x9c\x64\xa8\xdb\xba\x70\x8d\x36\xc0\xe7\x4b\xf8\xf6\x61\xca\xcb\x06\xae\xcf\x99\xf5\xb5\xe7\xbe\xe3\x6e\xb6\xc9\x52\x1c\x99\x8e\xbc\x0d\xfc\x3c\x81\xd0\xce\x25\xba\x5b\x79\x95\x24\xd3\xee\xda\xde\xa4\x9d\x58\xa2\x24\x91\x50\xa7\x05\xed\x88\x43\x49\xe6\x19\xb2\x8c\x02\xd2\x60\xd8\xb6\x4d\x34\xb9\x1d\x79\xf0\xdf\x16\x60\x65\x25\xb7\x79\x1c\x4d\x0b\xdf\x39\xaf\xb1\xdd\x94\x56\x5e\x25\x09\x26\x7d\x06\xeb\xc9\x0d\xaa\x54\x8f\x24\xa9\xaf\x89\x5f\x23\xa9\x42\x48\x3b\x57\x8c\xe8\x71\x90\x8b\xf3\x32\x86\x49\x19\x43\x0a\xd0\x16\x70\xd3\x46\x93\x37\x26\x47\xcb\x37\x9a\xcc\x31\x51\xf5\x4a\x3d\x69\xa8\x23\x99\xea\x4b\xa3\xb4\x0b\x43\xcb\x5f\x5e\xa7\x18\x95\xbd\xe0\xe3\x5d\xa0\x73\x73\xee\xf9\xf8\xd3\xaa\x18\x2e\x68\x54\x69\xf0\x8c\x85\xc8\x39\x95\x88\xbb\x43\x3b\xc9\x42\x67\x0f\xec\x7d\x53\x95\x1e\x8f\x1f\x60\x01\x66\x0b\xec\x50\x63\xb4\x16\xb1\xab\x5d\xec\x77\x6e\x03\x5c\x31\x56\xca\x10\x8c\x35\x2b\x17\x62\xd5\xd5\x39\x81\x50\x29\xde\x6a\x28\x47\x64\xb4\x90\x56\x7c\xea\xc5\x58\x8f\xb4\xff\x83\xb2\xbf\x40\x2e\x91\x4b\xe4\x28\x4d\x21\xde\x50\xe9\x2f\x4f\x05\xb3\x4b\xb0\x74\x0a\x4a\x7f\x59\x49\x5b\x4f\x32\xda\xbe\x38\x49\x78\x22\xe7\xb7\x4c\x30\x03\xdb\x06\x41\xa7\x40\xb6\x2c\x60\x35\x51\xdd\x09\x8a\xda\xbc\xa2\xcb\xd3\x88\x32\x8d\x2a\x5d\x44\x22\x7f\x36\xfe\x8f\xb5\xcd\x5e\x25\x49\xdd\x20\xd9\x13\x17\x4d\x63\x01\x53\x89\x55\x9b\x84\x43\x41\x35\x45\x4e\xf3\x34\xbf\x85\xd7\x1b\x8c\x3f\x29\x6c\x0b\xc9\x1d\x09\x96\x2a\x28\xa7\x25\x46\xc9\x93\x9e\xef\x26\xf0\xf1\x89\x81\xc0\x86\x7f\xa1\x9e\x93\xe0\x63\xb8\x0e\x01\x93\x35\xbe\xd0\x7e\x20\xaa\x0d\x3f\x27\x09\x29\x79\x94\x61\x60\x5a\x16\x62\x8c\x6e\xbf\xc3\x8a\xca\xf7\x97\x0b\x2e\x21\x6f\x30\xfc\x67\x24\x59\xaf\xef\xd4\xe2\xfa\x59\x92\xd3\x7a\xdc\xf6\x4c\x23\x9e\x4e\x8e\x05\x25\x22\xab\xb1\xc3\x06\xa6\xc4\x99\x81\xb0\x35\xfc\x71\x4b\x6d\x12\x4d\x24\x6a\x49\xcd\x52\xad\x5e\x59\xeb\xeb\xb4\x17\x37\x6c\xf9\x5d\x3b\xf1\x02\x7a\xce\x25\x12\x33\x4f\x50\xa4\x6d\xd6\xda\xdb\x19\x43\x53\x36\xed\x4d\xdd\xc1\x94\xde\xe4\xe8\x0c\xd6\x9a\xe2\xb3\xe7\x1d\x3b\x8f\x8d\x50\xae\x27\x0c\xbd\x0c\x37\x03\x87\x66\x17\x99\xa7\x0e\xa2\x19\x38\x90\xe8\xe3\xcb\xbc\x17\x89\x7c\x2f\x3e\x74\xa2\xb7\x26\xe8\xf8\xed\x50\xb4\x73\x5d\xa7\x49\x9d\xc3\x99\xf3\x2a\xe0\x5c\x1c\xff\x46\x27\x8a\x0b\xab\xc3\xb4\xe3\x36\xf6\x66\xa9\x4e\xe4\xde\x16\x65\xe5\x26\xa9\x8b\xfd\xc0\x4a\x62\x17\x88\x56\xa7\x2c\x9d\x87\x0e\x07\x15\x05\x6e\x30\x34\xb2\x29\x77\xb0\x83\x2b\x1b\xbf\x47\x30\x3f\xa0\xfe\xc7\x6e\xe5\xd4\x87\x71\xdd\xd9\x8d\x40\xdb\x83\x75\xce\xe7\x30\x4b\x5d\x5a\x09\x3e\x57\xf7\x2b\x98\x7e\x1b\xfe\x20\xa7\x8e\x32\x02\x27\xce\xa0\x95\x31\xb3\x62\x8f\x4a\xd1\xf4\xe9\x33\xa3\xcd\xf2\x4e\x9e\x0e\x27\x3d\xab\xfb\x4d\xe4\x18\x8c\x17\xec\xe6\xa3\x93\x70\xc7\xdb\x4f\x3d\x7b\x91\xcf\x1f\xc7\x03\xd6\xd8\x4a\xef\x45\xd2\x75\xf9\x76\x08\x1b\x0b\x26\x27\x88\x5f\x10\x53\xfa\x7b\x41\x65\x84\x84\xf1\x72\xaa\x1f\xb4\x7b\x1d\xcd\x17\xd9\xdc\xa9\xcc\xaf\x08\x36\xe7\xb9\xe4\xf2\x4e\xaa\x2d\x64\x09\xef\x3f\x8c\x21\x85\xb5\x99\x34\xea\x3c\x01\x05\x3d\xba\x4c\x24\x2c\x20\xda\x6e\x31\x4f\x68\x8d\x7a\x6a\x78\x6c\xef\x9d\x99\x7c\x67\x4a\xba\x1a\x0f\x43\x69\xbd\xad\xd7\xd6\xb6\x7c\xaf\xd6\x96\x77\x3d\xbb\x88\x27\x1d\xab\xbd\x8e\xb5\xe5\xde\x51\x56\x5f\x7f\x38\x92\x4a\xbf\xe9\xb6\x84\x66\xb7\xbd\xf3\x70\xdd\x19\xf6\x2b\xcf\xa4\xb5\x41\xf5\xc8\x73\xf4\x23\xbb\x0a\x02\x18\x70\x52\x3e\x39\x66\x46\x1c\xf4\x6a\x94\x3e\x44\x4f\xcd\x32\x29\xe6\xfe\xf2\x4e\x06\xf0\x1f\x0b\xf8\x81\x37\x75\x76\xea\x6d\x5a\x4b\xce\xd8\xce\x4f\xc5\x0e\xe4\xa6\xd8\xa5\x09\xec\x24\x8e\x5a\x57\xe4\xb2\xc2\x28\x09\x61\x59\x19\x25\xf3\x76\x1a\x03\x33\xaf\xb0\xa4\x5c\xb1\x93\xd1\x1a\x4d\xf5\xa9\x37\x37\xcd\xa9\x36\xe3\xb4\x97\xda\xfb\x1c\x07\x01\x18\x54\x13\xd9\x5f\x39\xce\x80\x61\x7f\xa4\xdb\x0e\x12\xba\x6e\x73\x6b\xf9\x4d\x2b\xce\x75\x1d\xf3\x6a\x8f\xd4\x5a\x3a\x1e\x9d\x31\xd0\x60\x85\x71\x6d\x67\xd8\x82\xdd\x55\x8d\x61\x5f\xf2\x51\xbd\xda\xc9\xc2\x69\x15\xa5\x0c\x35\x6d\xae\x9e\x12\xe0\x74\x9e\xeb\x9b\x74\xd8\x8d\x1c\x9f\xfe\x74\xf7\xf7\xeb\xed\x70\xea\x73\xc6\x86\x7a\x6f\xb7\x3e\xfd\x65\x9d\x3b\xc8\xc2\x62\x6b\xc6\xda\x84\x39\x9b\x6e\x6e\x0e\x6f\xd6\x07\x75\x6b\x62\xbe\x33\x09\x08\xc6\xd6\x24\xb2\x7e\xa0\x8f\x37\x3a\x2b\x57\x4f\x66\x69\x3d\xcf\xab\x27\xe1\x69\xaa\xfa\x3b\x7b\x8c\xae\xcc\x9d\x40\xb2\x63\x42\xee\xce\x86\x15\x2e\x44\x4e\x14\x8b\x92\xcf\x29\x17\xb0\x46\x3e\x9a\x52\xcf\xb6\x3a\x74\x45\x1e\x97\x7c\x78\x0c\x93\x79\x82\xf5\xe7\x19\x8f\xbb\x3c\xb3\x95\xa8\x38\xf4\x47\x25\x35\xcf\xc0\xfb\x0f\x8d\xb4\x7a\xbd\x97\xba\x80\x31\xb7\x66\xf0\x3d\x77\xef\x29\xe6\xce\x40\x33\xe8\x3d\xd4\xe9\x1e\xe6\x7c\x71\xe9\xc4\xb3\xc9\x13\xe3\x7b\xb4\x9a\xd7\xda\x89\x57\x03\xbb\x0c\xad\x03\x9c\xe6\x08\x0b\x3f\x6d\x5b\xb4\x7f\x0e\x17\x41\xab\x45\x5f\x8b\x3d\x6a\xec\xc2\x3d\xb5\xec\x18\x17\x79\xc2\x79\x0e\x23\xb6\xa6\x7d\xfa\x07\x44\x6e\xce\x26\xd6\xc3\x7e\x6b\xf3\x8b\x7c\x4e\x62\xc5\x83\x20\xf3\xdd\x6c\x1d\xa8\x04\x44\x04\x65\xbc\xc1\x2c\x3a\x69\x4c\x9f\x98\xd2\xd0\x0d\xd4\xd1\x14\x3d\x9d\xa8\x93\x30\x29\x42\xb5\x19\xae\x99\xe4\x83\xa8\xe2\x0d\x4b\xc5\xca\x3d\x61\xd5\xab\xcc\x3a\x89\x23\x89\x8e\x75\x5e\xda\xe9\xbe\xb6\x79\x7b\x5a\xd9\xde\x76\xea\xb7\xa7\x3a\x1b\xc2\x11\xcd\xc4\x9d\x34\xe9\xda\xb5\x19\xae\xe8\xaa\x52\xd9\xa2\x3b\xdf\xb3\x67\x7b\x8d\x51\xaf\x1b\xef\xa9\xa9\x9e\x8a\xfc\x44\xab\x1e\xf7\xad\x22\x91\xda\x07\x83\x7a\x62\xa0\x16\xa2\x6f\xb2\x37\x83\x41\x83\x37\x93\xbb\x6b\x2d\x1e\xfe\xb9\x96\x6e\xe6\x97\x17\xd9\xdb\x9a\x9f\xed\xf2\x4f\x79\xf1\x90\xb7\xa6\xbe\xca\xbc\xdf\xca\xa9\x52\x56\xa0\x1d\xfe\x1d\xea\xba\xa6\x7b\x4c\x67\xd4\xe1\x97\x3d\x07\xa0\xc4\x8a\x28\x36\x58\x12\x7d\x6e\xac\x7d\x98\x21\xa1\x11\xc4\xb9\x2a\x13\x32\x8b\xd4\x8c\xb9\xa6\xc0\xe4\xa8\xb4\x1a\xc1\x85\x11\xc0\xf6\xf9\x99\x16\xa2\xc6\x41\xa0\x39\x3c\x78\x6d\x73\x7f\x81\xa8\xdd\x6f\xf3\xbd\xd9\x8f\x67\xd6\x42\xdf\x1d\xcb\xe9\xaa\xd0\x1c\xf3\xaa\x11\xe2\xda\x15\x1f\xb7\x18\x57\xa4\x21\x7a\xed\xdb\x7b\xae\x74\x2d\xc3\xea\x63\x96\xca\xbe\xa6\x2d\xc8\xc2\x77\x58\xf5\x0e\xb3\xf6\xf6\x11\x4d\xae\x5f\xdc\xf2\xa5\x9f\x89\x0b\xc0\x65\xa5\x60\xa7\x48\xb8\x34\xa9\xeb\xe2\x41\xa1\xcb\x99\x8c\x9c\x98\xe1\xf5\xa6\xf6\xe6\xd8\xda\x3f\x23\x69\x26\x04\x6c\xb9\x7d\x54\x1a\x9e\xcc\x0b\x67\xa6\x80\x67\x9a\x60\x5d\x15\x63\x2e\x99\xe6\x9e\x5d\x2b\xf4\x6d\x6d\x38\x5f\xdc\xea\xa1\xd5\x82\x0c\x60\xaa\x8d\x0a\xb7\x6c\xd5\x3a\x6b\x0d\x77\x87\x20\x51\xe4\x26\x40\x11\xcd\x33\x8b\x92\x33\x2b\x12\xa6\x78\x56\x51\x72\x46\x45\xd2\x88\x7b\x66\x59\xd2\x8f\xcd\x6b\x0a\x93\xbf\x14\x95\x03\xa9\xaf\xe9\x23\x46\xa6\xec\xe3\xd0\x3b\xa7\xee\x51\x38\x53\x14\xf9\x78\x85\x75\x6e\xa0\xb0\x72\xd4\xd7\x9d\xdc\x8c\x08\xe7\x26\xb7\xe7\xac\x6a\xbf\x4a\xf0\x9c\xce\xa2\xad\x3c\xfa\x4c\x99\xd4\x8c\xa3\x26\x0c\xdb\x91\x6c\xea\xc6\xbe\xcb\x51\x7c\x3a\xd7\x3a\xc9\xb3\x9b\x73\x5f\x3b\x3f\xcb\x73\xb3\xae\x3a\xf1\xd6\xd3\xa3\xeb\xf9\x89\xd5\xa3\x13\xa9\x73\xd2\xac\xb3\xdc\x58\xa2\x75\x27\xe3\x9f\x95\x69\xbb\x73\xf6\xcf\x49\x9c\xbc\x82\x16\xc3\x77\xd2\xe0\x57\x94\x33\x6d\x26\xad\x9f\x72\x98\xb4\xa6\x33\x19\x9f\xf2\x1f\x2d\xdc\xcd\x0f\x39\x86\xcf\x9a\x9c\x68\xad\x8d\xa2\x9c\x54\x66\x46\x78\x83\x67\x4e\xe8\xe9\x0f\x9e\x75\xd2\xc4\xc2\xaa\x72\xa0\xa1\x53\x48\xe7\x46\x69\xfe\x75\x8a\x0e\xd4\x67\x46\xe9\x93\xb0\xee\x49\xda\x4e\xa4\x1d\xc0\xf6\x95\xc1\xf6\xd9\x50\x3d\x14\x3b\xb3\x90\xa5\x1a\xce\xb8\x7f\x46\xec\xb2\x43\x50\x2b\x78\x91\x09\x79\x03\xd9\xd4\x86\x9d\x2d\xe3\xd6\x24\xa2\xfe\x81\xe6\x30\x48\xf8\xe7\x19\xbd\xd9\xfc\x19\x40\xd2\x30\x3b\x02\x92\xaf\x6d\x93\xa9\xbd\xe5\x60\xb6\xec\x35\x04\x1c\x04\x3c\x8b\xcd\xc7\x7a\x43\x75\x96\xc9\x4e\x52\x3c\x75\xa2\xe7\xec\xfc\x24\xb1\x9a\xab\x43\x9e\x97\xc4\xab\x66\x85\x56\x5e\xe2\x69\xd3\xa9\xad\x5d\x73\xcc\x2a\x38\xf5\x33\xf6\x33\x87\x79\xe7\xd8\x10\xdb\x36\x54\x9c\xd6\x89\x47\x8f\xc9\xce\xdb\xd7\xe5\x87\x6d\x65\xdb\x03\x3f\x52\x35\x7d\xf7\xab\x42\xfd\x6e\x4d\xfd\xdf\x10\x02\x4b\xe9\x4a\xe1\xc6\xc5\x94\x4f\x11\x4d\xfe\x05\x35\xd9\xf6\x62\x5b\x2c\xef\xa4\xeb\x28\xef\x3f\xd4\x45\x6c\xdb\x5d\x2c\x05\x8f\x78\x4b\x8f\x39\xae\x53\xf4\x80\xb3\x0c\x9d\x45\xb8\x62\x82\x57\xbb\x96\x25\xf4\xe1\x56\x24\x47\xbb\xbc\x6c\x1f\x58\xe0\xe1\x5c\x03\x54\xab\x63\xfc\x7e\xc6\xd3\xd4\x81\xe5\x03\x1d\xcf\x2f\x9b\x04\x8e\xcc\x02\xeb\xfa\x57\x0b\x21\xa8\x7e\xb9\xae\x49\xd3\x90\xd4\xe7\x21\xce\x8c\x00\xe6\x14\xc4\x25\x98\xb3\x57\xf8\xa2\x11\x60\x64\x6c\x78\xfa\x34\x8d\x03\x92\xab\xb0\x7b\x66\x94\x98\xb4\x4d\x74\x22\x66\x68\xf5\x5d\x18\x35\x8c\xa1\x4c\xdc\x60\x6b\x92\x53\x9b\xee\xd9\xaa\x45\xaf\x30\xe6\x9f\x17\x42\x06\x0c\x7a\xa5\x89\x86\x6a\xb2\xd3\xfe\x3d\x06\x9e\x61\x37\x3f\xe3\x24\xce\xe5\xde\x7e\xbd\xb3\xeb\xae\xe1\x4c\x67\xbf\xa6\x39\xb1\x57\xf8\xf2\xe9\x7e\xf4\x3c\xc1\x5f\x9f\xee\x89\xdd\xe1\x66\xf1\x61\x23\xe2\x8d\xb5\xf9\xa9\x6b\xe1\xda\x53\x5b\x6e\x6a\x36\x43\xaf\xb1\x8a\xc5\x48\x7f\xc7\xf8\xf5\xa5\xfc\x7a\x7b\x72\xfc\xc0\xe8\x59\xb5\xb1\xb5\x19\xc9\x5a\x20\x9e\x07\x3b\xdd\x21\xfd\xf7\x6e\x47\xf2\x2f\xc7\x57\xca\x67\xf8\xc5\xcf\x6a\x74\x89\xaf\x33\x5a\x98\xcf\x0e\xa8\x5f\x38\x98\x9a\xea\xa6\x7d\x70\xfb\xcf\xea\x6e\xad\xc3\x6c\xdd\x7e\x87\xfb\x2c\x06\xc0\xf0\x59\xa8\x21\x08\xf4\xf8\xdc\x78\x5f\xfb\x59\x90\xa8\x39\xfd\xe2\x90\x78\x2e\x9f\x6d\x1b\xfe\x8b\xf7\xb4\x5d\x13\x5b\x47\xbd\x9a\x8f\xff\x1f\x00\x00\xff\xff\xed\x98\x4c\x19\xd2\x51\x00\x00") func templateBuilderMutationTmplBytes() ([]byte, error) { return bindataRead( @@ -227,7 +227,7 @@ func templateBuilderMutationTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/builder/mutation.tmpl", size: 20885, mode: os.FileMode(420), modTime: time.Unix(1, 0)} + info := bindataFileInfo{name: "template/builder/mutation.tmpl", size: 20946, mode: os.FileMode(420), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -292,7 +292,7 @@ func templateBuilderUpdateTmpl() (*asset, error) { return a, nil } -var _templateClientTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x59\xdf\x73\xdc\xb6\xf1\x7f\xbe\xfb\x2b\xf6\xcb\x91\xfd\x25\x35\x67\x30\xcd\x5b\xaf\xa3\x07\xc7\x72\xd3\x9b\x49\xa4\xa4\x56\xda\xce\x64\x32\x31\x04\x2e\x79\x88\x78\x00\x05\xe2\xa4\xd3\x5c\xf5\xbf\x77\x16\x3f\xf8\xe3\x8e\x92\x95\xd8\x9d\x3e\xd8\x3a\x12\xc0\xee\xe2\xb3\x9f\x5d\xec\x82\xfb\x7d\x7e\x3a\x7f\xa7\x9b\x07\x23\xab\xb5\x85\xaf\xbf\xfa\xd3\x9f\xdf\x34\x06\x5b\x54\x16\xfe\xca\x05\x5e\x6b\x7d\x03\x2b\x25\x18\xbc\xad\x6b\x70\x93\x5a\xa0\x71\x73\x87\x05\x9b\x5f\xad\x65\x0b\xad\xde\x1a\x81\x20\x74\x81\x20\x5b\xa8\xa5\x40\xd5\x62\x01\x5b\x55\xa0\x01\xbb\x46\x78\xdb\x70\xb1\x46\xf8\x9a\x7d\x15\x47\xa1\xd4\x5b\x55\xcc\xa5\x72\xe3\xdf\xad\xde\xbd\xbf\xf8\xf0\x1e\x4a\x59\x23\x84\x77\x46\x6b\x0b\x85\x34\x28\xac\x36\x0f\xa0\x4b\xb0\x03\x65\xd6\x20\xb2\xf9\x69\xfe\xf8\x38\x9f\xd3\x1e\xa0\xd2\xf6\xa1\xc1\x25\xa0\xb2\x95\x66\x52\xe7\xa8\x2c\xfd\x13\x79\x85\x8a\x7d\x6b\x78\xb3\x86\x38\x1d\x0a\x2c\xa5\x42\x48\x44\x2d\x51\xd9\x04\xc2\xeb\x93\xe6\xa6\x82\xe5\x19\x5c\xf3\x16\xe1\x84\xbd\xd3\xaa\x94\x15\xfb\x81\x8b\x1b\x5e\x21\x4d\xda\xef\xc1\xe2\xa6\xa9\xb9\x45\x48\xd6\xc8\x0b\x34\x09\x9c\xb8\xe5\x72\xd3\x68\x63\x21\x9d\xcf\x92\x5a\x57\xc9\x7c\x3e\x4b\x48\xe2\xb1\x90\x7c\x23\x2b\xc3\x2d\x26\xf3\xd9\x7e\x0f\x86\xab\x0a\xe1\xe4\xd7\x05\x9c\x28\x52\x7d\xc2\x2e\x74\x81\x2d\x89\x9c\x79\x09\x6a\x42\x84\x7f\xdf\xbf\x70\xb2\xde\x00\xaa\xc2\xd9\x32\x4b\x46\x28\x14\x92\xd7\x28\xec\x91\xc2\x60\xb2\xd3\xfa\xc1\x6a\xc3\x2b\x64\x2b\xf7\xae\x85\x37\xbd\x01\x61\x5a\xd0\xe2\x94\xd0\x68\x36\x9f\xe7\x39\xbc\x73\x08\x92\xdb\xc9\x67\x1e\x4f\xb0\x6b\x6e\x61\xad\xeb\xa2\x05\x5e\xd7\xe4\x12\xb8\xde\xca\xba\x40\xd3\xb2\x39\xb9\x29\x2e\x6b\xad\xd9\x0a\x0b\xfb\xf9\x4c\xb8\x3d\xfa\x6d\xc8\x92\x0c\xda\x36\xa4\xf6\x7b\x0f\x96\xc7\x23\xcf\xe1\x83\x58\xe3\x86\x1f\xe8\x2b\xb5\x01\x61\x90\x5b\xa9\xaa\x05\x78\x7c\xa5\xaa\x80\xab\x02\x0a\xa3\x9b\x86\x1e\x5a\xb7\x92\xcd\x67\xb3\x20\xe3\x34\x38\x82\xf9\xe7\x11\x84\xee\x77\x80\xea\xd8\x2f\x79\x0e\xde\x03\x17\x7c\x43\xa6\x4d\x98\x23\x95\x45\xc3\x85\x33\xe3\x5e\xda\xb5\x1b\x1f\x2f\xea\x21\x99\xcd\xc6\x23\xa7\xa3\x47\x8f\xd5\xb1\x79\x3d\x13\xbd\xde\xbc\x94\x58\x17\x6d\xce\x8b\x42\x5a\xa9\x15\xaf\x03\x37\xdd\x6c\x67\xc4\x89\xdd\x34\x75\x4b\xfb\xd9\x70\x2b\xd6\x57\x9f\x94\x90\x9f\x26\x7e\xcb\x03\x3c\x48\x86\x83\xc4\x0b\x73\xc3\x6e\x7c\xd7\x59\xe4\xe7\x9c\xf4\x4b\x87\x76\x87\xdf\x8f\x8e\x3f\x17\x78\x1f\xb8\xe0\x1c\x88\x2d\x70\x50\x78\x1f\xa1\xf4\xb4\xd8\x1a\x2c\x7a\x14\x2b\x79\x87\x0a\x74\x43\x16\xb6\x6c\x5e\x6e\x95\xe8\xc5\xa4\xba\xb1\x2d\x30\xc6\x2e\xdd\x78\x06\xa7\x41\x3c\x71\xac\x74\xd1\xed\x65\xee\x6b\x5d\x2d\xa1\xd6\x15\xfb\xc1\x48\x65\x6b\xb5\x80\xb5\xd6\x37\xed\x12\x5e\xbb\xbf\x7b\x32\x57\x94\x15\x0b\x8a\x9c\x60\xc6\x58\x36\x9f\x05\xdb\x96\x67\xf0\xda\x0b\xdf\x7b\x91\x4b\x10\x65\xf5\x18\xc7\x99\x54\xd2\xa6\xd9\x7c\x66\xd0\x6e\x8d\x0a\x3b\xa2\x6d\x3b\x8b\x53\x11\x4d\xcb\xc0\xcf\x24\x13\x9f\xa5\xbf\x08\x4c\x85\x33\x88\xd4\xbd\xc0\x7b\xff\x2e\x15\xac\x30\xf2\x0e\x4d\xf6\x62\x1e\x03\x00\xcc\x04\x1b\x53\xef\x0c\x08\xcb\x09\xfe\xa5\x82\xf9\x5d\x66\x13\x5e\xbc\x6c\x9c\x47\x50\x91\xfb\x0a\x6e\x39\x65\xd0\xbc\xbd\xad\xd9\xf9\x37\xd0\x36\x28\x64\x29\xb1\x80\xeb\x07\xe7\x40\x6f\x28\x28\x12\xcf\x55\x41\x02\xdc\x6b\x6e\x79\x4c\xef\x34\xb6\x70\xf1\xeb\xd1\x3b\xa0\x05\xb7\x96\x0e\x94\x02\xac\x06\x69\x99\x37\xc1\x33\x16\x1a\x6e\xf8\x06\x2d\x9a\x16\x04\x57\x70\x8d\xc0\x8b\x02\x0b\x9f\x24\x02\x9d\x28\x2a\xfb\x80\x0d\x1c\xa2\x4d\xa4\xde\xb6\x0b\xa7\x9e\x0c\xfa\xe0\xec\x71\x48\xb4\xd6\xb8\xfc\x12\x08\x31\x24\x59\x1a\x5c\xb9\x00\x34\x46\x1b\xe7\xca\xf6\x5e\x5a\xb1\x86\x5e\xa0\xa3\x20\x9d\x2c\xfb\x3d\xfc\xa6\xa5\x1a\x64\xdd\x73\x9f\xa1\x5b\x48\x16\x40\x01\xb7\x0c\x61\xd3\xc5\x5a\x43\x1c\x2d\x21\x09\xa9\x3c\x7f\xd5\xe6\x21\x64\x09\xf5\xa4\x17\x15\x12\xf7\x54\x38\x32\x3f\x56\x60\xc9\xb7\xb5\x25\x15\x81\x99\x4a\xd6\x0b\x28\x37\x96\xbd\x27\xe3\xcb\x34\xd9\xaa\xd6\xd3\x0f\x8b\x60\xff\x12\x5e\xdd\x26\x8b\xc1\x66\xb2\xf9\x2c\x3a\xff\x6a\x77\xe0\x24\x6b\xb8\x6a\x29\xf7\x39\x7f\x04\x8c\xe1\x6a\x8d\xd0\x18\x7d\x27\xc9\x19\x42\x2b\x8b\x3b\x4b\xcb\x65\x0b\x5b\x5f\x2d\x58\x59\x3b\xaf\x0c\xd6\xd3\xa8\xd0\x9b\x8d\xb4\x64\x8b\x36\x60\x74\x5d\x13\x93\xb8\xb8\x61\xc7\x81\x74\xb5\x4b\x85\xdd\x45\xe9\x74\x70\xd2\x5f\xf2\xcf\xd5\x6e\xe8\x1b\x59\xc2\xaf\x0b\xd0\x37\x2e\x1d\x84\xc0\x61\xe9\xa9\xdd\x9d\xfb\x18\xfa\x0b\x8d\xed\x9f\x41\x28\x16\x0b\x8f\x8f\x4b\x62\x99\xd2\x74\x96\x71\x63\x81\x8f\xac\xa7\x9c\x25\xd5\xf8\x65\xe2\xa0\x9b\x59\x6f\x10\x59\xa0\xf0\xde\x1b\xbe\x80\x41\x14\xcb\xd2\x8d\xff\xdf\x19\x69\x7f\xb1\x31\xce\x0a\x77\xf6\x0d\x75\x2e\xe1\xd5\x7d\xe2\xf4\x79\xe5\x31\x13\xb2\x78\xec\x52\xa2\x0b\x61\x79\x06\x76\xd7\x25\xad\xd7\x57\x3b\xd2\x2c\xec\x6e\x09\x64\x20\xfd\xee\x73\xdd\xc2\x9f\x5c\x4f\xd5\x30\x6f\xe2\xd1\x30\x48\x26\xcb\x27\xd3\x4b\x59\x65\x41\x5e\xac\x30\x66\x8f\x0b\xda\xec\xdc\x15\x67\x6f\x20\x3f\x85\x55\xe9\x08\xd2\x06\xae\x07\x8b\x03\x59\x5b\xb8\xda\x5d\x86\xd8\x4c\x6b\x79\x83\xf0\xe1\xc7\xef\x32\x5f\xf4\xf5\xc1\x34\x19\x4b\x76\x17\x82\x7a\x18\x49\x61\x99\x2c\x61\xcd\xdb\xab\x71\x2c\x85\xf4\x39\x1d\x66\x61\x61\xac\xc6\xf2\x1c\xce\xf1\x7a\x5b\x1d\x44\x49\x41\xef\xde\xc4\xe8\x58\xd9\xff\x0f\x71\x60\x35\x54\x68\xe1\x0e\xcd\xb5\x6e\x91\x4e\xa8\x8a\xfc\xa9\x55\x4c\xa4\x82\x32\x2d\x55\x38\xee\xf8\xcb\xf3\x79\x9e\xc7\x23\xc7\xe9\x49\x33\x7a\xeb\x90\x4c\xa5\x2a\x70\xd7\x39\xe4\xab\x2c\x82\xee\x67\xfc\xb8\x45\xf3\x10\xa7\xbf\xd3\x5b\x72\x83\xdd\x65\x24\xf3\x28\xb4\x82\xe8\xe1\x79\x2a\x4b\xe2\xab\xdb\xda\x80\x9e\xe2\x05\x0c\x0b\xd0\x07\x7b\x23\xe9\x89\xfe\xb5\xae\xbe\xc0\x09\xeb\x0a\x53\x42\x4f\xd0\xff\x6d\x77\xbc\xb8\xc2\x5e\x68\xa5\xd0\xc7\x27\x1d\x30\x8d\xc1\x3b\x54\xb6\x75\x4e\xb9\xdd\xa2\x91\xd8\x42\x69\xf4\xa6\x8b\xa5\x89\x44\xe3\xa4\xa7\x99\x4f\x29\xb4\xfb\x68\x42\x4c\x26\x61\x42\x30\xe6\xa7\xd6\x9d\x42\xde\x90\xcd\xd6\x3a\xe7\xf9\x7a\x83\xfc\x4d\x45\x32\x8d\xa0\xb2\xd2\x3e\x84\x7d\x38\xdf\xc2\x4a\x81\x36\xae\x8d\xd2\x24\x61\xb0\xa6\xa7\x83\x08\x67\x8f\xe0\x75\xbd\x84\x8f\x01\x1c\x72\x39\xfb\xa9\xc5\x94\x8a\x96\x8f\x13\x7b\xa0\x31\x2f\x8e\x31\xf6\x37\xad\x6f\xba\x0a\xe4\xd9\xa6\xe4\xa0\x62\x60\x9d\x18\x5f\x1c\x8d\x6b\x83\x79\x9f\x1e\x0e\x25\x91\x94\xde\xcf\x2e\x28\x3b\xb1\xc9\xbb\xbe\x31\x0b\xc5\x76\x98\xea\x8b\x6d\x3e\x2c\xb5\x8f\x2b\xeb\x58\xea\xbb\x56\x63\xbc\xf8\xa8\xe3\x08\x9d\x9f\x41\xe1\xec\x53\xec\xef\x28\xd0\xd1\xf4\xf1\x71\xbf\xa7\xe8\xc7\x5b\x3f\x9c\x88\xc4\xbf\x73\x4f\x7d\x1e\x79\xc5\xbe\xa6\xbc\x11\xd4\xff\x1b\x6a\x7d\x1f\x57\x0f\x52\x40\x48\x7b\xbd\x25\x7d\x36\x78\x76\x2f\x8e\x89\x7d\xd9\xeb\xad\xee\xab\xde\x91\xcc\x54\x84\xf1\xcc\xb7\x10\xbd\xb2\x9e\xa1\xaf\x47\x03\x7d\x5c\x3d\x1e\x52\x95\x43\x2d\x5b\x4b\x7d\xf7\x31\x61\xc9\x1e\xff\xd0\x5a\x77\x12\xe7\x39\xbc\x75\xfc\xa3\xd1\x8f\x44\x89\x72\x01\xd5\x02\xd6\xd9\x47\xc0\xdb\x2d\xaf\xdd\xb2\x8f\x87\x7d\xab\xa3\x5d\x9b\x96\x69\x95\xae\xd3\x2c\xcb\x46\x3c\x1d\x19\xfa\x14\x5d\x05\xf3\xdc\x3b\xac\x62\x79\xd3\xa0\x2a\xd2\xc9\xe1\x50\xe9\x3b\xbe\x86\x64\xe1\x7a\x8f\xa1\x4b\xfc\x8b\xd0\xa2\x39\xd7\x8c\x59\xff\xa4\x99\x5e\x54\x9a\xc5\x26\xce\x3f\x47\xc3\xf6\xf3\x59\x87\xa6\x3f\xf9\xfd\xac\xef\xc3\xcb\x30\xaf\x2b\xb6\x17\x70\xd9\x78\x09\xd9\xd8\x83\x07\x82\x7b\x3f\x76\x0b\x43\x37\x23\x02\xc6\xd9\xa2\xf3\xe3\xb2\xfb\xf5\x38\xda\xff\x37\xdb\xfa\x66\x80\xc1\x70\xf3\xb1\xbb\x76\xaf\xeb\x1b\x62\xc5\x18\x71\x97\xba\x24\xb6\x9f\x02\x86\x74\xa4\xb1\xf3\x25\x4f\x4e\xc1\x74\x00\x1e\xad\x19\x00\x38\x05\xc3\x60\xca\x04\x14\x51\xdf\xb2\xfb\xd5\xb1\xbd\x29\x46\x8e\x57\xb0\xf5\x6f\xfe\x80\xe7\xbd\xac\xde\xf3\xfe\xf9\x73\x3c\xef\x25\x1c\x79\x7e\x24\xf8\x33\x3d\xef\x65\x5d\xaa\x4f\x61\xd0\x67\x20\x7f\x48\x7d\x0a\x86\x4b\x85\x69\x4c\x95\x47\x37\x1a\x07\x10\x5d\xaa\x2f\x80\xd2\xa5\xc2\x05\x79\xca\x1f\x24\x09\x55\xde\xc9\x40\xe5\xc0\x98\xec\x09\x40\x7b\x33\xbe\x14\xa6\xab\xf3\x17\xa3\x2a\x8b\x17\x20\xba\x3a\x4f\x65\x11\xe8\xb8\x3a\x67\x57\x74\xbc\xfd\x0f\xd0\x4c\x56\xe7\x74\x12\xa6\xb2\xf8\xaf\x43\x79\x8e\x35\x8e\x12\x73\xe1\x5f\xfc\x81\xf0\xf4\xa2\xfa\xf0\xf4\xcf\x9f\x03\x95\x97\x70\x04\xc1\x48\xf0\x17\xd9\xff\x28\x3c\xa7\x20\x78\x79\x74\x76\x02\x5f\x10\x9d\xdd\xdc\xe3\xe4\x2b\xfa\xc1\xd5\xf9\x40\x14\x5b\x9d\x67\x87\xa6\x0f\xa3\xe0\x79\xe3\x9f\x0b\x82\xa1\xbe\xe7\x82\x60\xca\xe8\xa8\xcd\x35\x24\x91\x07\xec\x9f\x6b\x34\x1e\x86\x51\x49\xe2\xe4\x13\xb1\xc3\x2a\x16\x7d\xc2\x64\x01\x67\xf0\x5a\x16\x13\x43\xba\x81\xb3\x8e\x11\x97\x0a\xa7\x39\x31\x08\x8b\x20\x21\xfa\xd9\x75\x62\x03\x98\x6e\xdd\xf3\x1f\x60\x79\x68\xe9\x22\x1a\xee\xf1\xc9\xb3\x73\x38\x7a\x44\xd4\x68\xda\xb7\x68\x07\x86\x4d\x9c\xfa\x0f\x70\xfd\x00\xd2\xb6\xcf\xba\xef\x5b\xb4\x53\x57\x33\x0b\x98\xf4\x65\x7a\x7a\x50\xb0\xf5\x57\x37\x1d\x01\x63\xf3\xfa\xbc\x1b\xd9\xa5\xaa\x1f\x7c\x57\xdb\x6d\xe7\x5f\xfe\x2b\xd5\x0d\xd2\x03\x55\x07\x16\x1a\xae\xa4\x68\xa9\xda\xe7\x2a\x34\x75\x5a\x88\xad\x79\xa6\x9e\x21\x41\xbf\x63\x4b\xe3\x1d\xd1\x4e\xf4\xf5\x6f\xdd\x15\x90\x60\x01\x20\x5a\x3d\x79\xf9\xe3\x2c\x4c\xbb\x1b\x9c\x00\x83\xbe\xfe\x2d\x74\x30\xa1\xcb\xc2\xd0\xc5\xbc\x2f\xaa\xbe\xcd\x1a\xf0\xff\x04\x9d\x49\x23\xd7\xbb\x39\xdc\xb8\x86\x3d\xc4\x71\xdf\xf9\xd0\xfb\x44\x16\xb1\xf5\xa1\xc7\x33\x48\x94\x2e\x30\x19\xf5\x38\x91\xc4\x74\x68\xf0\x56\xf0\x9a\x54\xc5\xdd\xc6\xb6\x3a\xb6\x37\xfd\x08\x16\x15\x52\x35\xc9\x7f\x17\xc1\xa7\x94\xa4\xd1\xbc\xa7\x12\x5a\x44\xc1\xa3\xef\x23\x6c\x79\xe6\x63\xa1\x1f\x9b\x88\x03\x3f\x97\x35\xdc\xae\xe1\x0c\xc8\xb0\x27\x6e\x19\xa9\x57\xfb\x87\xdb\x48\x77\xb3\xfb\x4d\x27\x78\x01\xbf\x0e\x68\xdc\x7f\x93\xc1\x9d\x25\x08\x4f\x14\x24\xb1\xf5\x4c\x02\xec\xe4\xc4\x84\x7c\x9a\xac\x0a\xd7\x0e\x27\x4e\x43\x02\xfd\xc5\xda\x33\x17\xc4\xce\xea\x9c\x56\x1c\xdc\x6a\x3d\xf1\xb9\x86\x0d\xee\x8e\xbb\x2b\xb8\x48\x34\xa7\xd8\x5f\xc7\x0d\xe8\xe7\x54\xcc\x1d\x81\x06\xad\xae\x3b\xd7\xba\x9c\x31\xf8\x30\xe6\xdb\xae\x27\x5d\x1b\xce\x43\xf8\xf9\x17\xfa\x35\xf8\x1c\xa2\x8d\xf3\xe6\x76\xe3\x25\xfb\xdf\x3f\xe8\x5a\x8a\x07\xbf\x1f\xdf\x17\xba\x38\x9a\xe8\xf7\xfa\x5d\x84\xae\xd0\xcd\xf9\x79\x59\xa3\xf2\x3f\xb3\xc1\xcf\x5f\x16\x30\xdd\xa5\xfe\xbc\xfc\x65\x70\xc3\x51\xb7\x63\xc9\x4f\x28\x1e\xdf\x86\xf4\x30\x0d\x00\x73\x5f\xaf\xdf\xf6\x5f\xf3\xdc\xc7\xd3\xf0\xe5\x42\xdf\xa1\x31\xee\xc2\x5c\x1e\xdc\x03\xf5\x9f\xe8\xc0\x7f\xb4\x8b\x6d\x79\xb8\xfd\x09\xb7\x9e\x07\x5f\xba\xa7\x3e\x11\x8e\x2e\x2a\xfe\x13\x00\x00\xff\xff\xe4\xf3\xe0\x60\x0f\x20\x00\x00") +var _templateClientTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x59\xdf\x73\xdb\x36\xf2\x7f\x96\xfe\x8a\xfd\x72\x9c\x7c\x49\x8f\x02\xf6\xfa\x76\xba\xf1\x43\x1a\xe7\x7a\x9a\x69\xe3\xf6\xe2\xde\xdd\x4c\xa7\xd3\xc0\xe0\x92\x42\x4d\x01\x0c\x08\xd9\xf2\xe8\xfc\xbf\xdf\x2c\x7e\xf0\x87\x44\x39\x6e\x93\x9b\x7b\x48\x2c\x12\xc0\xee\xe2\xb3\x9f\x5d\xec\x82\xfb\x7d\x7e\x3e\x7f\xa3\x9b\x07\x23\xab\xb5\x85\xaf\xbf\xfa\xd3\x9f\x5f\x35\x06\x5b\x54\x16\xfe\xca\x05\xde\x68\x7d\x0b\x2b\x25\x18\xbc\xae\x6b\x70\x93\x5a\xa0\x71\x73\x87\x05\x9b\x5f\xaf\x65\x0b\xad\xde\x1a\x81\x20\x74\x81\x20\x5b\xa8\xa5\x40\xd5\x62\x01\x5b\x55\xa0\x01\xbb\x46\x78\xdd\x70\xb1\x46\xf8\x9a\x7d\x15\x47\xa1\xd4\x5b\x55\xcc\xa5\x72\xe3\xdf\xad\xde\xbc\x7d\xf7\xfe\x2d\x94\xb2\x46\x08\xef\x8c\xd6\x16\x0a\x69\x50\x58\x6d\x1e\x40\x97\x60\x07\xca\xac\x41\x64\xf3\xf3\xfc\xf1\x71\x3e\xa7\x3d\x40\xa5\xed\x43\x83\x4b\x40\x65\x2b\xcd\xa4\xce\x51\x59\xfa\x27\xf2\x0a\x15\xfb\xd6\xf0\x66\x0d\x71\x3a\x14\x58\x4a\x85\x90\x88\x5a\xa2\xb2\x09\x84\xd7\x67\xcd\x6d\x05\xcb\x0b\xb8\xe1\x2d\xc2\x19\x7b\xa3\x55\x29\x2b\xf6\x03\x17\xb7\xbc\x42\x9a\xb4\xdf\x83\xc5\x4d\x53\x73\x8b\x90\xac\x91\x17\x68\x12\x38\x73\xcb\xe5\xa6\xd1\xc6\x42\x3a\x9f\x25\xb5\xae\x92\xf9\x7c\x96\x90\xc4\x63\x21\xf9\x46\x56\x86\x5b\x4c\xe6\xb3\xfd\x1e\x0c\x57\x15\xc2\xd9\xaf\x0b\x38\x53\xa4\xfa\x8c\xbd\xd3\x05\xb6\x24\x72\xe6\x25\xa8\x09\x11\xfe\x7d\xff\xc2\xc9\x7a\x05\xa8\x0a\x67\xcb\x2c\x19\xa1\x50\x48\x5e\xa3\xb0\x47\x0a\x83\xc9\x4e\xeb\x7b\xab\x0d\xaf\x90\xad\xdc\xbb\x16\x5e\xf5\x06\x84\x69\x41\x8b\x53\x42\xa3\xd9\x7c\x9e\xe7\xf0\xc6\x21\x48\x6e\x27\x9f\x79\x3c\xc1\xae\xb9\x85\xb5\xae\x8b\x16\x78\x5d\x93\x4b\xe0\x66\x2b\xeb\x02\x4d\xcb\xe6\xe4\xa6\xb8\xac\xb5\x66\x2b\x2c\xec\xe7\x33\xe1\xf6\xe8\xb7\x21\x4b\x32\x68\xdb\x90\xda\xef\x3d\x58\x1e\x8f\x3c\x87\xf7\x62\x8d\x1b\x7e\xa0\xaf\xd4\x06\x84\x41\x6e\xa5\xaa\x16\xe0\xf1\x95\xaa\x02\xae\x0a\x28\x8c\x6e\x1a\x7a\x68\xdd\x4a\x36\x9f\xcd\x82\x8c\xf3\xe0\x08\xe6\x9f\x47\x10\xba\xdf\x01\xaa\x63\xbf\xe4\x39\x78\x0f\xbc\xe3\x1b\x32\x6d\xc2\x1c\xa9\x2c\x1a\x2e\x9c\x19\xf7\xd2\xae\xdd\xf8\x78\x51\x0f\xc9\x6c\x36\x1e\x39\x1f\x3d\x7a\xac\x8e\xcd\xeb\x99\xe8\xf5\xe6\xa5\xc4\xba\x68\x73\x5e\x14\xd2\x4a\xad\x78\x1d\xb8\xe9\x66\x3b\x23\xce\xec\xa6\xa9\x5b\xda\xcf\x86\x5b\xb1\xbe\xfe\xa4\x84\xfc\x3c\xf1\x5b\x1e\xe0\x41\x32\x1c\x24\x5e\x98\x1b\x76\xe3\xbb\xce\x22\x3f\xe7\xac\x5f\x3a\xb4\x3b\xfc\x7e\x74\xfc\x79\x87\xf7\x81\x0b\xce\x81\xd8\x02\x07\x85\xf7\x11\x4a\x4f\x8b\xad\xc1\xa2\x47\xb1\x92\x77\xa8\x40\x37\x64\x61\xcb\xe6\xe5\x56\x89\x5e\x4c\xaa\x1b\xdb\x02\x63\xec\xca\x8d\x67\x70\x1e\xc4\x13\xc7\x4a\x17\xdd\x5e\xe6\xbe\xd6\xd5\x12\x6a\x5d\xb1\x1f\x8c\x54\xb6\x56\x0b\x58\x6b\x7d\xdb\x2e\xe1\xa5\xfb\xbb\x27\x73\x45\x59\xb1\xa0\xc8\x09\x66\x8c\x65\xf3\x59\xb0\x6d\x79\x01\x2f\xbd\xf0\xbd\x17\xb9\x04\x51\x56\x8f\x71\x9c\x49\x25\x6d\x9a\xcd\x67\x06\xed\xd6\xa8\xb0\x23\xda\xb6\xb3\x38\x15\xd1\xb4\x0c\xfc\x4c\x32\xf1\x49\xfa\x8b\xc0\x54\xb8\x80\x48\xdd\x77\x78\xef\xdf\xa5\x82\x15\x46\xde\xa1\xc9\x9e\xcd\x63\x00\x80\x99\x60\x63\xea\x5d\x00\x61\x39\xc1\xbf\x54\x30\xbf\xcb\x6c\xc2\x8b\x57\x8d\xf3\x08\x2a\x72\x5f\xc1\x2d\xa7\x0c\x9a\xb7\x1f\x6b\x76\xf9\x0d\xb4\x0d\x0a\x59\x4a\x2c\xe0\xe6\xc1\x39\xd0\x1b\x0a\x8a\xc4\x73\x55\x90\x00\xf7\x9a\x5b\x1e\xd3\x3b\x8d\x2d\x5c\xfc\x7a\xf4\x0e\x68\xc1\xad\xa5\x03\xa5\x00\xab\x41\x5a\xe6\x4d\xf0\x8c\x85\x86\x1b\xbe\x41\x8b\xa6\x05\xc1\x15\xdc\x20\xf0\xa2\xc0\xc2\x27\x89\x40\x27\x8a\xca\x3e\x60\x03\x87\x68\x13\xa9\xb7\xed\x9d\x53\x4f\x06\xbd\x77\xf6\x38\x24\x5a\x6b\x5c\x7e\x09\x84\x18\x92\x2c\x0d\xae\x5c\x00\x1a\xa3\x8d\x73\x65\x7b\x2f\xad\x58\x43\x2f\xd0\x51\x90\x4e\x96\xfd\x1e\x7e\xd3\x52\x0d\xb2\xee\xa5\xcf\xd0\x2d\x24\x0b\xa0\x80\x5b\x86\xb0\xe9\x62\xad\x21\x8e\x96\x90\x84\x54\x9e\xbf\x68\xf3\x10\xb2\x84\x7a\xd2\x8b\x0a\x89\x7b\x2a\x1c\x99\x1f\x2b\xb0\xe4\xdb\xda\x92\x8a\xc0\x4c\x25\xeb\x05\x94\x1b\xcb\xde\x92\xf1\x65\x9a\x6c\x55\xeb\xe9\x87\x45\xb0\x7f\x09\x2f\x3e\x26\x8b\xc1\x66\xb2\xf9\x2c\x3a\xff\x7a\x77\xe0\x24\x6b\xb8\x6a\x29\xf7\x39\x7f\x04\x8c\xe1\x7a\x8d\xd0\x18\x7d\x27\xc9\x19\x42\x2b\x8b\x3b\x4b\xcb\x65\x0b\x5b\x5f\x2d\x58\x59\x3b\xaf\x0c\xd6\xd3\xa8\xd0\x9b\x8d\xb4\x64\x8b\x36\x60\x74\x5d\x13\x93\xb8\xb8\x65\xc7\x81\x74\xbd\x4b\x85\xdd\x45\xe9\x74\x70\xd2\x5f\xf2\xcf\xf5\x6e\xe8\x1b\x59\xc2\xaf\x0b\xd0\xb7\x2e\x1d\x84\xc0\x61\xe9\xb9\xdd\x5d\xfa\x18\xfa\x0b\x8d\xed\x9f\x40\x28\x16\x0b\x8f\x8f\x4b\x62\x99\xd2\x74\x96\x71\x63\x81\x8f\xac\xa7\x9c\x25\xd5\xf8\x65\xe2\xa0\x9b\x59\x6f\x10\x59\xa0\xf0\xde\x1b\xbe\x80\x41\x14\xcb\xd2\x8d\xff\xdf\x05\x69\x7f\xb6\x31\xce\x0a\x77\xf6\x0d\x75\x2e\xe1\xc5\x7d\xe2\xf4\x79\xe5\x31\x13\xb2\x78\xec\x52\xa2\x0b\x61\x79\x01\x76\xd7\x25\xad\x97\xd7\x3b\xd2\x2c\xec\x6e\x09\x64\x20\xfd\xee\x73\xdd\xc2\x9f\x5c\xa7\x6a\x98\x57\xf1\x68\x18\x24\x93\xe5\xc9\xf4\x52\x56\x59\x90\x17\x2b\x8c\xd9\xe3\x82\x36\x3b\x77\xc5\xd9\x2b\xc8\xcf\x61\x55\x3a\x82\xb4\x81\xeb\xc1\xe2\x40\xd6\x16\xae\x77\x57\x21\x36\xd3\x5a\xde\x22\xbc\xff\xf1\xbb\xcc\x17\x7d\x7d\x30\x4d\xc6\x92\xdd\x85\xa0\x1e\x46\x52\x58\x26\x4b\x58\xf3\xf6\x7a\x1c\x4b\x21\x7d\x4e\x87\x59\x58\x18\xab\xb1\x3c\x87\x4b\xbc\xd9\x56\x07\x51\x52\xd0\xbb\x57\x31\x3a\x56\xf6\xff\x43\x1c\x58\x0d\x15\x5a\xb8\x43\x73\xa3\x5b\xa4\x13\xaa\x22\x7f\x6a\x15\x13\xa9\xa0\x4c\x4b\x15\x8e\x3b\xfe\xf2\x7c\x9e\xe7\xf1\xc8\x71\x7a\xd2\x8c\xde\x3a\x24\x53\xa9\x0a\xdc\x75\x0e\xf9\x2a\x8b\xa0\xfb\x19\x3f\x6e\xd1\x3c\xc4\xe9\x6f\xf4\x96\xdc\x60\x77\x19\xc9\x3c\x0a\xad\x20\x7a\x78\x9e\xca\x92\xf8\xea\xb6\x36\xa0\xa7\x78\x06\xc3\x02\xf4\xc1\xde\x48\x7a\xa2\x7f\xad\xab\x2f\x70\xc2\xba\xc2\x94\xd0\x13\xf4\x7f\xdb\x1d\x2f\xae\xb0\x17\x5a\x29\xf4\xf1\x49\x07\x4c\x63\xf0\x0e\x95\x6d\x9d\x53\x3e\x6e\xd1\x48\x6c\xa1\x34\x7a\xd3\xc5\xd2\x44\xa2\x71\xd2\xd3\xcc\xa7\x14\xda\x7d\x34\x21\x26\x93\x30\x21\x18\xf3\x53\xeb\x4e\x21\x6f\xc8\x66\x6b\x9d\xf3\x7c\xbd\x41\xfe\xa6\x22\x99\x46\x50\x59\x69\x1f\xc2\x3e\x9c\x6f\x61\xa5\x40\x1b\xd7\x46\x69\x92\x30\x58\xd3\xd3\x41\x84\xb3\x47\xf0\xba\x5e\xc2\x87\x00\x0e\xb9\x9c\xfd\xd4\x62\x4a\x45\xcb\x87\x89\x3d\xd0\x98\x17\xc7\x18\xfb\x9b\xd6\xb7\x5d\x05\x72\xb2\xf0\x3d\xa8\x16\x58\x27\xc2\x17\x46\xe3\xba\x60\xde\xa7\x86\x43\x49\x24\xa5\xf7\xb1\x0b\xc8\x4e\x6c\xf2\xa6\x6f\xca\x42\xa1\x1d\xa6\xfa\x42\x9b\x0f\xcb\xec\xe3\xaa\x3a\x96\xf9\xae\xcd\x18\x2f\x3e\xea\x36\x42\xd7\x67\x50\x38\xfb\x14\xfb\x3b\x0a\x74\x14\x7d\x7c\xdc\xef\x29\xf2\xf1\xa3\x1f\x4e\x44\xe2\xdf\xb9\xa7\x3e\x87\xbc\x60\x5f\x53\xce\x08\xea\xff\x0d\xb5\xbe\x8f\xab\x07\xe1\x1f\x52\x5e\x6f\x49\x9f\x09\x9e\xdc\x8b\x63\x61\x5f\xf2\x7a\xab\xfb\x8a\x77\x24\x33\x15\x61\x3c\xf3\xed\x43\xaf\xac\x67\xe7\xcb\xd1\x40\x1f\x53\x8f\x87\x34\xe5\x50\xcb\xd6\x52\xcf\x7d\x4c\x56\xb2\xc7\x3f\xb4\xd6\x9d\xc2\x79\x0e\xaf\x1d\xf7\x68\xf4\x03\x51\xa2\x5c\x40\xb5\x80\x75\xf6\x01\xf0\xe3\x96\xd7\x6e\xd9\x87\xc3\x9e\xd5\x51\xae\x4d\xcb\xb4\x4a\xd7\x69\x96\x65\x23\x8e\x8e\x0c\x3d\x45\x55\xc1\x3c\xf7\x0e\x2b\x58\xde\x34\xa8\x8a\x74\x72\x38\x54\xf9\x8e\xaf\x21\x51\xb8\xbe\x63\xe8\x12\xff\x22\xb4\x67\xce\x35\x63\xd6\x9f\x34\xd3\x8b\x4a\xb3\xd8\xc0\xf9\xe7\x68\xd8\x7e\x3e\xeb\xd0\xf4\xa7\xbe\x9f\xf5\x7d\x78\x19\xe6\x75\x85\xf6\x02\xae\x1a\x2f\x21\x1b\x7b\xf0\x40\x70\xef\xc7\x6e\x61\xe8\x64\x44\xc0\x38\x5b\x74\x7e\x5c\x76\xbf\x1e\x47\xfb\xff\x66\x5b\xdf\x0e\x30\x18\x6e\x3e\x76\xd6\xee\x75\x7d\x4b\xac\x18\x23\xee\xd2\x96\xc4\xf6\x53\xc0\x90\x8e\x34\x76\xbd\xe4\xc9\x29\x98\x0e\xc0\xa3\x35\x03\x00\xa7\x60\x18\x4c\x99\x80\x22\xea\x5b\x76\xbf\x3a\xb6\x37\xc5\xc8\xf1\x0a\xb6\xfe\xcd\x1f\xf0\xbc\x97\xd5\x7b\xde\x3f\x7f\x8e\xe7\xbd\x84\x23\xcf\x8f\x04\x7f\xa6\xe7\xbd\xac\x2b\xf5\x29\x0c\xfa\x0c\xe4\x0f\xa8\x4f\xc1\x70\xa5\x30\x8d\xa9\xf2\xe8\x36\xe3\x00\xa2\x2b\xf5\x05\x50\xba\x52\xb8\x20\x4f\xf9\x83\x24\xa1\xaa\x3b\x19\xa8\x1c\x18\x93\x9d\x00\xb4\x37\xe3\x4b\x61\xba\xba\x7c\x36\xaa\xb2\x78\x06\xa2\xab\xcb\x54\x16\x81\x8e\xab\x4b\x76\x4d\xc7\xdb\xff\x00\xcd\x64\x75\x49\x27\x61\x2a\x8b\xff\x3a\x94\x97\x58\xe3\x28\x31\x17\xfe\xc5\x1f\x08\x4f\x2f\xaa\x0f\x4f\xff\xfc\x39\x50\x79\x09\x47\x10\x8c\x04\x7f\x91\xfd\x8f\xc2\x73\x0a\x82\xe7\x47\x67\x27\xf0\x19\xd1\xd9\xcd\x3d\x4e\xbe\xa2\x1f\x5c\x5d\x0e\x44\xb1\xd5\x65\x76\x68\xfa\x30\x0a\x9e\x36\xfe\xa9\x20\x18\xea\x7b\x2a\x08\xa6\x8c\x8e\xda\x5c\x33\x12\x79\xc0\xfe\xb9\x46\xe3\x61\x18\x95\x24\x4e\x3e\x11\x3b\xac\x62\xd1\x27\x4c\x16\x70\x01\x2f\x65\x31\x31\xa4\x1b\xb8\xe8\x18\x71\xa5\x70\x9a\x13\x83\xb0\x08\x12\xa2\x9f\x5d\x17\x36\x80\xe9\xa3\x7b\xfe\x03\x2c\x0f\xed\x5c\x44\xc3\x3d\x9e\x3c\x3b\x87\xa3\x47\x44\x8d\xa6\x7d\x8b\x76\x60\xd8\xc4\xa9\xff\x00\x37\x0f\x20\x6d\xfb\xa4\xfb\xbe\x45\x3b\x75\x2d\xb3\x80\x49\x5f\xa6\xe7\x07\x05\x5b\x7f\x6d\xd3\x11\x30\x36\xae\x4f\xbb\x91\x5d\xa9\xfa\xc1\x77\xb4\xdd\x76\xfe\xe5\xbf\x50\xdd\x22\x3d\x50\x75\x60\xa1\xe1\x4a\x8a\x96\xaa\x7d\xae\x42\x43\xa7\x85\xd8\x9a\x27\xea\x19\x12\xf4\x3b\xb6\x34\xde\x11\xed\x44\xdf\xfc\xd6\x5d\xff\x08\x16\x00\xa2\xd5\x93\x17\x3f\xce\xc2\xb4\xbb\xbd\x09\x30\xe8\x9b\xdf\x42\x07\x13\xba\x2c\x0c\x5d\xcc\xdb\xa2\xea\xdb\xac\x01\xff\xcf\xd0\x99\x34\x72\xbd\x9b\xc3\x8d\x6b\xd6\x43\x1c\xf7\x9d\x0f\xbd\x4f\x64\x11\x5b\x1f\x7a\xbc\x80\x44\xe9\x02\x93\x51\x8f\x13\x49\x4c\x87\x06\x6f\x05\xaf\x49\x55\xdc\x6d\x6c\xa9\x63\x7b\xd3\x8f\x60\x51\x21\x55\x93\xfc\x77\x11\x7c\x4a\x49\x1a\xcd\x3b\x95\xd0\x22\x0a\x1e\x7d\x1f\x61\xcb\x0b\x1f\x0b\xfd\xd8\x44\x1c\xf8\xb9\xac\xe1\x76\x0d\x17\x40\x86\x9d\xb8\x61\xa4\x5e\xed\x1f\x6e\x23\xdd\xad\xee\x37\x9d\xe0\x05\xfc\x3a\xa0\x71\xff\x3d\x06\x77\x96\x20\x3c\x53\x90\xc4\xd6\x33\x09\xb0\x93\x13\x13\xf2\x69\xb2\x2a\x5c\x3b\x9c\x38\x0d\x09\xf4\x97\x6a\x4f\x5c\x0e\x3b\xab\x73\x5a\x71\x70\xa3\x75\xe2\x53\x0d\x1b\xdc\x1b\x77\xd7\x6f\x91\x68\x4e\xb1\xbf\x8a\x1b\xd0\xcf\xa9\x98\x3b\x02\x0d\x5a\x5d\x77\xae\x75\x39\x63\xf0\x51\xcc\xb7\x5d\x27\x5d\x1b\xce\x43\xf8\xf9\x17\xfa\x35\xf8\x14\xa2\x8d\xf3\xe6\x76\xe3\x25\xfb\xdf\x3f\xe8\x5a\x8a\x07\xbf\x1f\xdf\x17\xba\x38\x9a\xe8\xf7\xfa\x5d\x84\xae\xd0\xcd\xf9\x79\x59\xa3\xf2\x3f\xb3\xc1\xcf\x5f\x16\x30\xdd\xa5\xfe\xbc\xfc\x65\x70\xc3\x51\xb7\x63\xc9\x27\x14\x8f\x6f\x43\x7a\x98\x06\x80\xb9\x2f\xd7\xaf\xfb\x2f\x79\xee\xc3\x69\xf8\x6a\xa1\xef\xd0\x18\x77\x59\x2e\x0f\xee\x80\xfa\xcf\x73\xe0\x3f\xd8\xc5\xb6\x3c\xdc\xfc\x84\x1b\xcf\x83\xaf\xdc\x53\x9f\x07\x47\x17\x15\xff\x09\x00\x00\xff\xff\x38\x2e\x0e\x7e\x0b\x20\x00\x00") func templateClientTmplBytes() ([]byte, error) { return bindataRead( @@ -307,7 +307,7 @@ func templateClientTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/client.tmpl", size: 8207, mode: os.FileMode(420), modTime: time.Unix(1, 0)} + info := bindataFileInfo{name: "template/client.tmpl", size: 8203, mode: os.FileMode(420), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/entc/gen/template/builder/mutation.tmpl b/entc/gen/template/builder/mutation.tmpl index d4cdd658b..faaf06e82 100644 --- a/entc/gen/template/builder/mutation.tmpl +++ b/entc/gen/template/builder/mutation.tmpl @@ -218,7 +218,7 @@ func (m *{{ $mutation }}) ID() (id {{ $n.ID.Type }}, exists bool) { {{ end }} {{ if $f.Optional }} - {{ $func := print "Clear" $f.StructField }} + {{ $func := $f.MutationClear }} // {{ $func }} clears the value of the "{{ $f.Name }}" field. func (m *{{ $mutation }}) {{ $func }}() { m.{{ $f.BuilderField }} = nil @@ -228,7 +228,7 @@ func (m *{{ $mutation }}) ID() (id {{ $n.ID.Type }}, exists bool) { m.clearedFields[{{ $const }}] = struct{}{} } - {{ $func = print $f.StructField "Cleared" }} + {{ $func = $f.MutationCleared }} // {{ $func }} returns if the "{{ $f.Name }}" field was cleared in this mutation. func (m *{{ $mutation }}) {{ $func }}() bool { _, ok := m.clearedFields[{{ $const }}] @@ -277,9 +277,9 @@ func (m *{{ $mutation }}) ID() (id {{ $n.ID.Type }}, exists bool) { } {{ $func = $e.MutationCleared }} - // {{ $func }} returns if the "{{ $e.Name }}" edge to the {{ $e.Type.Name }} entity was cleared. + // {{ $func }} reports if the "{{ $e.Name }}" edge to the {{ $e.Type.Name }} entity was cleared. func (m *{{ $mutation }}) {{ $func }}() bool { - return m.cleared{{ $e.BuilderField }} + return {{ with $e.Field }}{{ if .Optional }}m.{{ .MutationCleared }}() || {{ end }}{{ end }}m.cleared{{ $e.BuilderField }} } {{ if not $e.Unique }} diff --git a/entc/gen/template/client.tmpl b/entc/gen/template/client.tmpl index e3c9ef292..bf195f830 100644 --- a/entc/gen/template/client.tmpl +++ b/entc/gen/template/client.tmpl @@ -128,7 +128,7 @@ func (c *Client) Close() error { // Use adds the mutation hooks to all the entity clients. // In order to add hooks to a specific client, call: `client.Node.Use(...)`. func (c *Client) Use(hooks ...Hook) { - {{- range $_, $n := $.Nodes }} + {{- range $n := $.Nodes }} c.{{ $n.Name }}.Use(hooks...) {{- end }} } diff --git a/entc/gen/type.go b/entc/gen/type.go index 5b932f03c..582630bc0 100644 --- a/entc/gen/type.go +++ b/entc/gen/type.go @@ -956,6 +956,17 @@ func (f Field) MutationSet() string { return name } +// MutationClear returns the method name for clearing the field value. +func (f Field) MutationClear() string { + return "Clear" + f.StructField() +} + +// MutationCleared returns the method name for indicating if the field +// was cleared in the mutation. +func (f Field) MutationCleared() string { + return f.StructField() + "Cleared" +} + // IsBool returns true if the field is a bool field. func (f Field) IsBool() bool { return f.Type != nil && f.Type.Type == field.TypeBool } @@ -1348,7 +1359,10 @@ func (e *Edge) ForeignKey() (*ForeignKey, error) { // // Note that the zero value is returned if no field was defined in the schema. func (e Edge) Field() *Field { - if fk, err := e.ForeignKey(); err == nil { + if !e.OwnFK() { + return nil + } + if fk, err := e.ForeignKey(); err == nil && fk.Field.IsEdgeField() { return fk.Field } return nil diff --git a/entc/integration/cascadelete/ent/mutation.go b/entc/integration/cascadelete/ent/mutation.go index 2b573e516..87bbc4d2f 100644 --- a/entc/integration/cascadelete/ent/mutation.go +++ b/entc/integration/cascadelete/ent/mutation.go @@ -204,7 +204,7 @@ func (m *CommentMutation) ClearPost() { m.clearedpost = true } -// PostCleared returns if the "post" edge to the Post entity was cleared. +// PostCleared reports if the "post" edge to the Post entity was cleared. func (m *CommentMutation) PostCleared() bool { return m.clearedpost } @@ -619,9 +619,9 @@ func (m *PostMutation) ClearAuthor() { m.clearedauthor = true } -// AuthorCleared returns if the "author" edge to the User entity was cleared. +// AuthorCleared reports if the "author" edge to the User entity was cleared. func (m *PostMutation) AuthorCleared() bool { - return m.clearedauthor + return m.AuthorIDCleared() || m.clearedauthor } // AuthorIDs returns the "author" edge IDs in the mutation. @@ -655,7 +655,7 @@ func (m *PostMutation) ClearComments() { m.clearedcomments = true } -// CommentsCleared returns if the "comments" edge to the Comment entity was cleared. +// CommentsCleared reports if the "comments" edge to the Comment entity was cleared. func (m *PostMutation) CommentsCleared() bool { return m.clearedcomments } @@ -1081,7 +1081,7 @@ func (m *UserMutation) ClearPosts() { m.clearedposts = true } -// PostsCleared returns if the "posts" edge to the Post entity was cleared. +// PostsCleared reports if the "posts" edge to the Post entity was cleared. func (m *UserMutation) PostsCleared() bool { return m.clearedposts } diff --git a/entc/integration/customid/ent/mutation.go b/entc/integration/customid/ent/mutation.go index e074d14be..ab0104cee 100644 --- a/entc/integration/customid/ent/mutation.go +++ b/entc/integration/customid/ent/mutation.go @@ -189,7 +189,7 @@ func (m *BlobMutation) ClearParent() { m.clearedparent = true } -// ParentCleared returns if the "parent" edge to the Blob entity was cleared. +// ParentCleared reports if the "parent" edge to the Blob entity was cleared. func (m *BlobMutation) ParentCleared() bool { return m.clearedparent } @@ -233,7 +233,7 @@ func (m *BlobMutation) ClearLinks() { m.clearedlinks = true } -// LinksCleared returns if the "links" edge to the Blob entity was cleared. +// LinksCleared reports if the "links" edge to the Blob entity was cleared. func (m *BlobMutation) LinksCleared() bool { return m.clearedlinks } @@ -774,7 +774,7 @@ func (m *CarMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the Pet entity was cleared. +// OwnerCleared reports if the "owner" edge to the Pet entity was cleared. func (m *CarMutation) OwnerCleared() bool { return m.clearedowner } @@ -1181,7 +1181,7 @@ func (m *GroupMutation) ClearUsers() { m.clearedusers = true } -// UsersCleared returns if the "users" edge to the User entity was cleared. +// UsersCleared reports if the "users" edge to the User entity was cleared. func (m *GroupMutation) UsersCleared() bool { return m.clearedusers } @@ -1853,7 +1853,7 @@ func (m *PetMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *PetMutation) OwnerCleared() bool { return m.clearedowner } @@ -1897,7 +1897,7 @@ func (m *PetMutation) ClearCars() { m.clearedcars = true } -// CarsCleared returns if the "cars" edge to the Car entity was cleared. +// CarsCleared reports if the "cars" edge to the Car entity was cleared. func (m *PetMutation) CarsCleared() bool { return m.clearedcars } @@ -1950,7 +1950,7 @@ func (m *PetMutation) ClearFriends() { m.clearedfriends = true } -// FriendsCleared returns if the "friends" edge to the Pet entity was cleared. +// FriendsCleared reports if the "friends" edge to the Pet entity was cleared. func (m *PetMutation) FriendsCleared() bool { return m.clearedfriends } @@ -1998,7 +1998,7 @@ func (m *PetMutation) ClearBestFriend() { m.clearedbest_friend = true } -// BestFriendCleared returns if the "best_friend" edge to the Pet entity was cleared. +// BestFriendCleared reports if the "best_friend" edge to the Pet entity was cleared. func (m *PetMutation) BestFriendCleared() bool { return m.clearedbest_friend } @@ -2382,7 +2382,7 @@ func (m *UserMutation) ClearGroups() { m.clearedgroups = true } -// GroupsCleared returns if the "groups" edge to the Group entity was cleared. +// GroupsCleared reports if the "groups" edge to the Group entity was cleared. func (m *UserMutation) GroupsCleared() bool { return m.clearedgroups } @@ -2430,7 +2430,7 @@ func (m *UserMutation) ClearParent() { m.clearedparent = true } -// ParentCleared returns if the "parent" edge to the User entity was cleared. +// ParentCleared reports if the "parent" edge to the User entity was cleared. func (m *UserMutation) ParentCleared() bool { return m.clearedparent } @@ -2474,7 +2474,7 @@ func (m *UserMutation) ClearChildren() { m.clearedchildren = true } -// ChildrenCleared returns if the "children" edge to the User entity was cleared. +// ChildrenCleared reports if the "children" edge to the User entity was cleared. func (m *UserMutation) ChildrenCleared() bool { return m.clearedchildren } @@ -2527,7 +2527,7 @@ func (m *UserMutation) ClearPets() { m.clearedpets = true } -// PetsCleared returns if the "pets" edge to the Pet entity was cleared. +// PetsCleared reports if the "pets" edge to the Pet entity was cleared. func (m *UserMutation) PetsCleared() bool { return m.clearedpets } diff --git a/entc/integration/edgefield/edgefield_test.go b/entc/integration/edgefield/edgefield_test.go index 5cb30e87e..ee0ab8565 100644 --- a/entc/integration/edgefield/edgefield_test.go +++ b/entc/integration/edgefield/edgefield_test.go @@ -84,4 +84,8 @@ func TestEdgeField(t *testing.T) { require.Equal(t, a8m.ID, inf.ID) _, err = client.Info.Create().SetID(a8m.ID).SetContent(json.RawMessage("10")).Save(ctx) require.True(t, ent.IsConstraintError(err), "UNIQUE constraint failed: metadata.id") + + require.NotZero(t, client.Pet.Query().QueryOwner().CountX(ctx)) + client.Pet.Update().ClearOwnerID().ExecX(ctx) + require.Zero(t, client.Pet.Query().QueryOwner().CountX(ctx)) } diff --git a/entc/integration/edgefield/ent/mutation.go b/entc/integration/edgefield/ent/mutation.go index c68097379..51ad54209 100644 --- a/entc/integration/edgefield/ent/mutation.go +++ b/entc/integration/edgefield/ent/mutation.go @@ -187,9 +187,9 @@ func (m *CardMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *CardMutation) OwnerCleared() bool { - return m.clearedowner + return m.OwnerIDCleared() || m.clearedowner } // OwnerIDs returns the "owner" edge IDs in the mutation. @@ -553,7 +553,7 @@ func (m *InfoMutation) ClearUser() { m.cleareduser = true } -// UserCleared returns if the "user" edge to the User entity was cleared. +// UserCleared reports if the "user" edge to the User entity was cleared. func (m *InfoMutation) UserCleared() bool { return m.cleareduser } @@ -936,7 +936,7 @@ func (m *MetadataMutation) ClearUser() { m.cleareduser = true } -// UserCleared returns if the "user" edge to the User entity was cleared. +// UserCleared reports if the "user" edge to the User entity was cleared. func (m *MetadataMutation) UserCleared() bool { return m.cleareduser } @@ -1314,9 +1314,9 @@ func (m *PetMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *PetMutation) OwnerCleared() bool { - return m.clearedowner + return m.OwnerIDCleared() || m.clearedowner } // OwnerIDs returns the "owner" edge IDs in the mutation. @@ -1718,9 +1718,9 @@ func (m *PostMutation) ClearAuthor() { m.clearedauthor = true } -// AuthorCleared returns if the "author" edge to the User entity was cleared. +// AuthorCleared reports if the "author" edge to the User entity was cleared. func (m *PostMutation) AuthorCleared() bool { - return m.clearedauthor + return m.AuthorIDCleared() || m.clearedauthor } // AuthorIDs returns the "author" edge IDs in the mutation. @@ -2176,7 +2176,7 @@ func (m *UserMutation) ClearPets() { m.clearedpets = true } -// PetsCleared returns if the "pets" edge to the Pet entity was cleared. +// PetsCleared reports if the "pets" edge to the Pet entity was cleared. func (m *UserMutation) PetsCleared() bool { return m.clearedpets } @@ -2219,9 +2219,9 @@ func (m *UserMutation) ClearParent() { m.clearedparent = true } -// ParentCleared returns if the "parent" edge to the User entity was cleared. +// ParentCleared reports if the "parent" edge to the User entity was cleared. func (m *UserMutation) ParentCleared() bool { - return m.clearedparent + return m.ParentIDCleared() || m.clearedparent } // ParentIDs returns the "parent" edge IDs in the mutation. @@ -2255,7 +2255,7 @@ func (m *UserMutation) ClearChildren() { m.clearedchildren = true } -// ChildrenCleared returns if the "children" edge to the User entity was cleared. +// ChildrenCleared reports if the "children" edge to the User entity was cleared. func (m *UserMutation) ChildrenCleared() bool { return m.clearedchildren } @@ -2298,9 +2298,9 @@ func (m *UserMutation) ClearSpouse() { m.clearedspouse = true } -// SpouseCleared returns if the "spouse" edge to the User entity was cleared. +// SpouseCleared reports if the "spouse" edge to the User entity was cleared. func (m *UserMutation) SpouseCleared() bool { - return m.clearedspouse + return m.SpouseIDCleared() || m.clearedspouse } // SpouseIDs returns the "spouse" edge IDs in the mutation. @@ -2329,7 +2329,7 @@ func (m *UserMutation) ClearCard() { m.clearedcard = true } -// CardCleared returns if the "card" edge to the Card entity was cleared. +// CardCleared reports if the "card" edge to the Card entity was cleared. func (m *UserMutation) CardCleared() bool { return m.clearedcard } @@ -2368,7 +2368,7 @@ func (m *UserMutation) ClearMetadata() { m.clearedmetadata = true } -// MetadataCleared returns if the "metadata" edge to the Metadata entity was cleared. +// MetadataCleared reports if the "metadata" edge to the Metadata entity was cleared. func (m *UserMutation) MetadataCleared() bool { return m.clearedmetadata } @@ -2412,7 +2412,7 @@ func (m *UserMutation) ClearInfo() { m.clearedinfo = true } -// InfoCleared returns if the "info" edge to the Info entity was cleared. +// InfoCleared reports if the "info" edge to the Info entity was cleared. func (m *UserMutation) InfoCleared() bool { return m.clearedinfo } diff --git a/entc/integration/ent/mutation.go b/entc/integration/ent/mutation.go index 434aba8b0..5bcc659a7 100644 --- a/entc/integration/ent/mutation.go +++ b/entc/integration/ent/mutation.go @@ -385,7 +385,7 @@ func (m *CardMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *CardMutation) OwnerCleared() bool { return m.clearedowner } @@ -429,7 +429,7 @@ func (m *CardMutation) ClearSpec() { m.clearedspec = true } -// SpecCleared returns if the "spec" edge to the Spec entity was cleared. +// SpecCleared reports if the "spec" edge to the Spec entity was cleared. func (m *CardMutation) SpecCleared() bool { return m.clearedspec } @@ -6651,7 +6651,7 @@ func (m *FileMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *FileMutation) OwnerCleared() bool { return m.clearedowner } @@ -6690,7 +6690,7 @@ func (m *FileMutation) ClearType() { m.cleared_type = true } -// TypeCleared returns if the "type" edge to the FileType entity was cleared. +// TypeCleared reports if the "type" edge to the FileType entity was cleared. func (m *FileMutation) TypeCleared() bool { return m.cleared_type } @@ -6734,7 +6734,7 @@ func (m *FileMutation) ClearFieldEdge() { m.clearedfield = true } -// FieldEdgeCleared returns if the "field" edge to the FieldType entity was cleared. +// FieldEdgeCleared reports if the "field" edge to the FieldType entity was cleared. func (m *FileMutation) FieldEdgeCleared() bool { return m.clearedfield } @@ -7327,7 +7327,7 @@ func (m *FileTypeMutation) ClearFiles() { m.clearedfiles = true } -// FilesCleared returns if the "files" edge to the File entity was cleared. +// FilesCleared reports if the "files" edge to the File entity was cleared. func (m *FileTypeMutation) FilesCleared() bool { return m.clearedfiles } @@ -8169,7 +8169,7 @@ func (m *GroupMutation) ClearFiles() { m.clearedfiles = true } -// FilesCleared returns if the "files" edge to the File entity was cleared. +// FilesCleared reports if the "files" edge to the File entity was cleared. func (m *GroupMutation) FilesCleared() bool { return m.clearedfiles } @@ -8222,7 +8222,7 @@ func (m *GroupMutation) ClearBlocked() { m.clearedblocked = true } -// BlockedCleared returns if the "blocked" edge to the User entity was cleared. +// BlockedCleared reports if the "blocked" edge to the User entity was cleared. func (m *GroupMutation) BlockedCleared() bool { return m.clearedblocked } @@ -8275,7 +8275,7 @@ func (m *GroupMutation) ClearUsers() { m.clearedusers = true } -// UsersCleared returns if the "users" edge to the User entity was cleared. +// UsersCleared reports if the "users" edge to the User entity was cleared. func (m *GroupMutation) UsersCleared() bool { return m.clearedusers } @@ -8323,7 +8323,7 @@ func (m *GroupMutation) ClearInfo() { m.clearedinfo = true } -// InfoCleared returns if the "info" edge to the GroupInfo entity was cleared. +// InfoCleared reports if the "info" edge to the GroupInfo entity was cleared. func (m *GroupMutation) InfoCleared() bool { return m.clearedinfo } @@ -8919,7 +8919,7 @@ func (m *GroupInfoMutation) ClearGroups() { m.clearedgroups = true } -// GroupsCleared returns if the "groups" edge to the Group entity was cleared. +// GroupsCleared reports if the "groups" edge to the Group entity was cleared. func (m *GroupInfoMutation) GroupsCleared() bool { return m.clearedgroups } @@ -9586,7 +9586,7 @@ func (m *NodeMutation) ClearPrev() { m.clearedprev = true } -// PrevCleared returns if the "prev" edge to the Node entity was cleared. +// PrevCleared reports if the "prev" edge to the Node entity was cleared. func (m *NodeMutation) PrevCleared() bool { return m.clearedprev } @@ -9625,7 +9625,7 @@ func (m *NodeMutation) ClearNext() { m.clearednext = true } -// NextCleared returns if the "next" edge to the Node entity was cleared. +// NextCleared reports if the "next" edge to the Node entity was cleared. func (m *NodeMutation) NextCleared() bool { return m.clearednext } @@ -10075,7 +10075,7 @@ func (m *PetMutation) ClearTeam() { m.clearedteam = true } -// TeamCleared returns if the "team" edge to the User entity was cleared. +// TeamCleared reports if the "team" edge to the User entity was cleared. func (m *PetMutation) TeamCleared() bool { return m.clearedteam } @@ -10114,7 +10114,7 @@ func (m *PetMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *PetMutation) OwnerCleared() bool { return m.clearedowner } @@ -10483,7 +10483,7 @@ func (m *SpecMutation) ClearCard() { m.clearedcard = true } -// CardCleared returns if the "card" edge to the Card entity was cleared. +// CardCleared reports if the "card" edge to the Card entity was cleared. func (m *SpecMutation) CardCleared() bool { return m.clearedcard } @@ -11635,7 +11635,7 @@ func (m *UserMutation) ClearCard() { m.clearedcard = true } -// CardCleared returns if the "card" edge to the Card entity was cleared. +// CardCleared reports if the "card" edge to the Card entity was cleared. func (m *UserMutation) CardCleared() bool { return m.clearedcard } @@ -11679,7 +11679,7 @@ func (m *UserMutation) ClearPets() { m.clearedpets = true } -// PetsCleared returns if the "pets" edge to the Pet entity was cleared. +// PetsCleared reports if the "pets" edge to the Pet entity was cleared. func (m *UserMutation) PetsCleared() bool { return m.clearedpets } @@ -11732,7 +11732,7 @@ func (m *UserMutation) ClearFiles() { m.clearedfiles = true } -// FilesCleared returns if the "files" edge to the File entity was cleared. +// FilesCleared reports if the "files" edge to the File entity was cleared. func (m *UserMutation) FilesCleared() bool { return m.clearedfiles } @@ -11785,7 +11785,7 @@ func (m *UserMutation) ClearGroups() { m.clearedgroups = true } -// GroupsCleared returns if the "groups" edge to the Group entity was cleared. +// GroupsCleared reports if the "groups" edge to the Group entity was cleared. func (m *UserMutation) GroupsCleared() bool { return m.clearedgroups } @@ -11838,7 +11838,7 @@ func (m *UserMutation) ClearFriends() { m.clearedfriends = true } -// FriendsCleared returns if the "friends" edge to the User entity was cleared. +// FriendsCleared reports if the "friends" edge to the User entity was cleared. func (m *UserMutation) FriendsCleared() bool { return m.clearedfriends } @@ -11891,7 +11891,7 @@ func (m *UserMutation) ClearFollowers() { m.clearedfollowers = true } -// FollowersCleared returns if the "followers" edge to the User entity was cleared. +// FollowersCleared reports if the "followers" edge to the User entity was cleared. func (m *UserMutation) FollowersCleared() bool { return m.clearedfollowers } @@ -11944,7 +11944,7 @@ func (m *UserMutation) ClearFollowing() { m.clearedfollowing = true } -// FollowingCleared returns if the "following" edge to the User entity was cleared. +// FollowingCleared reports if the "following" edge to the User entity was cleared. func (m *UserMutation) FollowingCleared() bool { return m.clearedfollowing } @@ -11992,7 +11992,7 @@ func (m *UserMutation) ClearTeam() { m.clearedteam = true } -// TeamCleared returns if the "team" edge to the Pet entity was cleared. +// TeamCleared reports if the "team" edge to the Pet entity was cleared. func (m *UserMutation) TeamCleared() bool { return m.clearedteam } @@ -12031,7 +12031,7 @@ func (m *UserMutation) ClearSpouse() { m.clearedspouse = true } -// SpouseCleared returns if the "spouse" edge to the User entity was cleared. +// SpouseCleared reports if the "spouse" edge to the User entity was cleared. func (m *UserMutation) SpouseCleared() bool { return m.clearedspouse } @@ -12075,7 +12075,7 @@ func (m *UserMutation) ClearChildren() { m.clearedchildren = true } -// ChildrenCleared returns if the "children" edge to the User entity was cleared. +// ChildrenCleared reports if the "children" edge to the User entity was cleared. func (m *UserMutation) ChildrenCleared() bool { return m.clearedchildren } @@ -12123,7 +12123,7 @@ func (m *UserMutation) ClearParent() { m.clearedparent = true } -// ParentCleared returns if the "parent" edge to the User entity was cleared. +// ParentCleared reports if the "parent" edge to the User entity was cleared. func (m *UserMutation) ParentCleared() bool { return m.clearedparent } diff --git a/entc/integration/gremlin/ent/mutation.go b/entc/integration/gremlin/ent/mutation.go index e48e98d7a..4340f1b3b 100644 --- a/entc/integration/gremlin/ent/mutation.go +++ b/entc/integration/gremlin/ent/mutation.go @@ -385,7 +385,7 @@ func (m *CardMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *CardMutation) OwnerCleared() bool { return m.clearedowner } @@ -429,7 +429,7 @@ func (m *CardMutation) ClearSpec() { m.clearedspec = true } -// SpecCleared returns if the "spec" edge to the Spec entity was cleared. +// SpecCleared reports if the "spec" edge to the Spec entity was cleared. func (m *CardMutation) SpecCleared() bool { return m.clearedspec } @@ -6651,7 +6651,7 @@ func (m *FileMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *FileMutation) OwnerCleared() bool { return m.clearedowner } @@ -6690,7 +6690,7 @@ func (m *FileMutation) ClearType() { m.cleared_type = true } -// TypeCleared returns if the "type" edge to the FileType entity was cleared. +// TypeCleared reports if the "type" edge to the FileType entity was cleared. func (m *FileMutation) TypeCleared() bool { return m.cleared_type } @@ -6734,7 +6734,7 @@ func (m *FileMutation) ClearFieldEdge() { m.clearedfield = true } -// FieldEdgeCleared returns if the "field" edge to the FieldType entity was cleared. +// FieldEdgeCleared reports if the "field" edge to the FieldType entity was cleared. func (m *FileMutation) FieldEdgeCleared() bool { return m.clearedfield } @@ -7327,7 +7327,7 @@ func (m *FileTypeMutation) ClearFiles() { m.clearedfiles = true } -// FilesCleared returns if the "files" edge to the File entity was cleared. +// FilesCleared reports if the "files" edge to the File entity was cleared. func (m *FileTypeMutation) FilesCleared() bool { return m.clearedfiles } @@ -8169,7 +8169,7 @@ func (m *GroupMutation) ClearFiles() { m.clearedfiles = true } -// FilesCleared returns if the "files" edge to the File entity was cleared. +// FilesCleared reports if the "files" edge to the File entity was cleared. func (m *GroupMutation) FilesCleared() bool { return m.clearedfiles } @@ -8222,7 +8222,7 @@ func (m *GroupMutation) ClearBlocked() { m.clearedblocked = true } -// BlockedCleared returns if the "blocked" edge to the User entity was cleared. +// BlockedCleared reports if the "blocked" edge to the User entity was cleared. func (m *GroupMutation) BlockedCleared() bool { return m.clearedblocked } @@ -8275,7 +8275,7 @@ func (m *GroupMutation) ClearUsers() { m.clearedusers = true } -// UsersCleared returns if the "users" edge to the User entity was cleared. +// UsersCleared reports if the "users" edge to the User entity was cleared. func (m *GroupMutation) UsersCleared() bool { return m.clearedusers } @@ -8323,7 +8323,7 @@ func (m *GroupMutation) ClearInfo() { m.clearedinfo = true } -// InfoCleared returns if the "info" edge to the GroupInfo entity was cleared. +// InfoCleared reports if the "info" edge to the GroupInfo entity was cleared. func (m *GroupMutation) InfoCleared() bool { return m.clearedinfo } @@ -8919,7 +8919,7 @@ func (m *GroupInfoMutation) ClearGroups() { m.clearedgroups = true } -// GroupsCleared returns if the "groups" edge to the Group entity was cleared. +// GroupsCleared reports if the "groups" edge to the Group entity was cleared. func (m *GroupInfoMutation) GroupsCleared() bool { return m.clearedgroups } @@ -9586,7 +9586,7 @@ func (m *NodeMutation) ClearPrev() { m.clearedprev = true } -// PrevCleared returns if the "prev" edge to the Node entity was cleared. +// PrevCleared reports if the "prev" edge to the Node entity was cleared. func (m *NodeMutation) PrevCleared() bool { return m.clearedprev } @@ -9625,7 +9625,7 @@ func (m *NodeMutation) ClearNext() { m.clearednext = true } -// NextCleared returns if the "next" edge to the Node entity was cleared. +// NextCleared reports if the "next" edge to the Node entity was cleared. func (m *NodeMutation) NextCleared() bool { return m.clearednext } @@ -10075,7 +10075,7 @@ func (m *PetMutation) ClearTeam() { m.clearedteam = true } -// TeamCleared returns if the "team" edge to the User entity was cleared. +// TeamCleared reports if the "team" edge to the User entity was cleared. func (m *PetMutation) TeamCleared() bool { return m.clearedteam } @@ -10114,7 +10114,7 @@ func (m *PetMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *PetMutation) OwnerCleared() bool { return m.clearedowner } @@ -10483,7 +10483,7 @@ func (m *SpecMutation) ClearCard() { m.clearedcard = true } -// CardCleared returns if the "card" edge to the Card entity was cleared. +// CardCleared reports if the "card" edge to the Card entity was cleared. func (m *SpecMutation) CardCleared() bool { return m.clearedcard } @@ -11635,7 +11635,7 @@ func (m *UserMutation) ClearCard() { m.clearedcard = true } -// CardCleared returns if the "card" edge to the Card entity was cleared. +// CardCleared reports if the "card" edge to the Card entity was cleared. func (m *UserMutation) CardCleared() bool { return m.clearedcard } @@ -11679,7 +11679,7 @@ func (m *UserMutation) ClearPets() { m.clearedpets = true } -// PetsCleared returns if the "pets" edge to the Pet entity was cleared. +// PetsCleared reports if the "pets" edge to the Pet entity was cleared. func (m *UserMutation) PetsCleared() bool { return m.clearedpets } @@ -11732,7 +11732,7 @@ func (m *UserMutation) ClearFiles() { m.clearedfiles = true } -// FilesCleared returns if the "files" edge to the File entity was cleared. +// FilesCleared reports if the "files" edge to the File entity was cleared. func (m *UserMutation) FilesCleared() bool { return m.clearedfiles } @@ -11785,7 +11785,7 @@ func (m *UserMutation) ClearGroups() { m.clearedgroups = true } -// GroupsCleared returns if the "groups" edge to the Group entity was cleared. +// GroupsCleared reports if the "groups" edge to the Group entity was cleared. func (m *UserMutation) GroupsCleared() bool { return m.clearedgroups } @@ -11838,7 +11838,7 @@ func (m *UserMutation) ClearFriends() { m.clearedfriends = true } -// FriendsCleared returns if the "friends" edge to the User entity was cleared. +// FriendsCleared reports if the "friends" edge to the User entity was cleared. func (m *UserMutation) FriendsCleared() bool { return m.clearedfriends } @@ -11891,7 +11891,7 @@ func (m *UserMutation) ClearFollowers() { m.clearedfollowers = true } -// FollowersCleared returns if the "followers" edge to the User entity was cleared. +// FollowersCleared reports if the "followers" edge to the User entity was cleared. func (m *UserMutation) FollowersCleared() bool { return m.clearedfollowers } @@ -11944,7 +11944,7 @@ func (m *UserMutation) ClearFollowing() { m.clearedfollowing = true } -// FollowingCleared returns if the "following" edge to the User entity was cleared. +// FollowingCleared reports if the "following" edge to the User entity was cleared. func (m *UserMutation) FollowingCleared() bool { return m.clearedfollowing } @@ -11992,7 +11992,7 @@ func (m *UserMutation) ClearTeam() { m.clearedteam = true } -// TeamCleared returns if the "team" edge to the Pet entity was cleared. +// TeamCleared reports if the "team" edge to the Pet entity was cleared. func (m *UserMutation) TeamCleared() bool { return m.clearedteam } @@ -12031,7 +12031,7 @@ func (m *UserMutation) ClearSpouse() { m.clearedspouse = true } -// SpouseCleared returns if the "spouse" edge to the User entity was cleared. +// SpouseCleared reports if the "spouse" edge to the User entity was cleared. func (m *UserMutation) SpouseCleared() bool { return m.clearedspouse } @@ -12075,7 +12075,7 @@ func (m *UserMutation) ClearChildren() { m.clearedchildren = true } -// ChildrenCleared returns if the "children" edge to the User entity was cleared. +// ChildrenCleared reports if the "children" edge to the User entity was cleared. func (m *UserMutation) ChildrenCleared() bool { return m.clearedchildren } @@ -12123,7 +12123,7 @@ func (m *UserMutation) ClearParent() { m.clearedparent = true } -// ParentCleared returns if the "parent" edge to the User entity was cleared. +// ParentCleared reports if the "parent" edge to the User entity was cleared. func (m *UserMutation) ParentCleared() bool { return m.clearedparent } diff --git a/entc/integration/hooks/ent/mutation.go b/entc/integration/hooks/ent/mutation.go index 29100eb3e..b29abcd55 100644 --- a/entc/integration/hooks/ent/mutation.go +++ b/entc/integration/hooks/ent/mutation.go @@ -296,7 +296,7 @@ func (m *CardMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *CardMutation) OwnerCleared() bool { return m.clearedowner } @@ -853,7 +853,7 @@ func (m *UserMutation) ClearCards() { m.clearedcards = true } -// CardsCleared returns if the "cards" edge to the Card entity was cleared. +// CardsCleared reports if the "cards" edge to the Card entity was cleared. func (m *UserMutation) CardsCleared() bool { return m.clearedcards } @@ -906,7 +906,7 @@ func (m *UserMutation) ClearFriends() { m.clearedfriends = true } -// FriendsCleared returns if the "friends" edge to the User entity was cleared. +// FriendsCleared reports if the "friends" edge to the User entity was cleared. func (m *UserMutation) FriendsCleared() bool { return m.clearedfriends } @@ -954,7 +954,7 @@ func (m *UserMutation) ClearBestFriend() { m.clearedbest_friend = true } -// BestFriendCleared returns if the "best_friend" edge to the User entity was cleared. +// BestFriendCleared reports if the "best_friend" edge to the User entity was cleared. func (m *UserMutation) BestFriendCleared() bool { return m.clearedbest_friend } diff --git a/entc/integration/idtype/ent/mutation.go b/entc/integration/idtype/ent/mutation.go index 63dd894e8..e4d91fca1 100644 --- a/entc/integration/idtype/ent/mutation.go +++ b/entc/integration/idtype/ent/mutation.go @@ -175,7 +175,7 @@ func (m *UserMutation) ClearSpouse() { m.clearedspouse = true } -// SpouseCleared returns if the "spouse" edge to the User entity was cleared. +// SpouseCleared reports if the "spouse" edge to the User entity was cleared. func (m *UserMutation) SpouseCleared() bool { return m.clearedspouse } @@ -219,7 +219,7 @@ func (m *UserMutation) ClearFollowers() { m.clearedfollowers = true } -// FollowersCleared returns if the "followers" edge to the User entity was cleared. +// FollowersCleared reports if the "followers" edge to the User entity was cleared. func (m *UserMutation) FollowersCleared() bool { return m.clearedfollowers } @@ -272,7 +272,7 @@ func (m *UserMutation) ClearFollowing() { m.clearedfollowing = true } -// FollowingCleared returns if the "following" edge to the User entity was cleared. +// FollowingCleared reports if the "following" edge to the User entity was cleared. func (m *UserMutation) FollowingCleared() bool { return m.clearedfollowing } diff --git a/entc/integration/migrate/entv1/mutation.go b/entc/integration/migrate/entv1/mutation.go index 643fe592b..f8a7d3a16 100644 --- a/entc/integration/migrate/entv1/mutation.go +++ b/entc/integration/migrate/entv1/mutation.go @@ -138,7 +138,7 @@ func (m *CarMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *CarMutation) OwnerCleared() bool { return m.clearedowner } @@ -2354,7 +2354,7 @@ func (m *UserMutation) ClearParent() { m.clearedparent = true } -// ParentCleared returns if the "parent" edge to the User entity was cleared. +// ParentCleared reports if the "parent" edge to the User entity was cleared. func (m *UserMutation) ParentCleared() bool { return m.clearedparent } @@ -2398,7 +2398,7 @@ func (m *UserMutation) ClearChildren() { m.clearedchildren = true } -// ChildrenCleared returns if the "children" edge to the User entity was cleared. +// ChildrenCleared reports if the "children" edge to the User entity was cleared. func (m *UserMutation) ChildrenCleared() bool { return m.clearedchildren } @@ -2446,7 +2446,7 @@ func (m *UserMutation) ClearSpouse() { m.clearedspouse = true } -// SpouseCleared returns if the "spouse" edge to the User entity was cleared. +// SpouseCleared reports if the "spouse" edge to the User entity was cleared. func (m *UserMutation) SpouseCleared() bool { return m.clearedspouse } @@ -2485,7 +2485,7 @@ func (m *UserMutation) ClearCar() { m.clearedcar = true } -// CarCleared returns if the "car" edge to the Car entity was cleared. +// CarCleared reports if the "car" edge to the Car entity was cleared. func (m *UserMutation) CarCleared() bool { return m.clearedcar } diff --git a/entc/integration/migrate/entv2/mutation.go b/entc/integration/migrate/entv2/mutation.go index 63aaf6304..8fa25dbdf 100644 --- a/entc/integration/migrate/entv2/mutation.go +++ b/entc/integration/migrate/entv2/mutation.go @@ -144,7 +144,7 @@ func (m *CarMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *CarMutation) OwnerCleared() bool { return m.clearedowner } @@ -2247,7 +2247,7 @@ func (m *PetMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *PetMutation) OwnerCleared() bool { return m.clearedowner } @@ -3175,7 +3175,7 @@ func (m *UserMutation) ClearCar() { m.clearedcar = true } -// CarCleared returns if the "car" edge to the Car entity was cleared. +// CarCleared reports if the "car" edge to the Car entity was cleared. func (m *UserMutation) CarCleared() bool { return m.clearedcar } @@ -3223,7 +3223,7 @@ func (m *UserMutation) ClearPets() { m.clearedpets = true } -// PetsCleared returns if the "pets" edge to the Pet entity was cleared. +// PetsCleared reports if the "pets" edge to the Pet entity was cleared. func (m *UserMutation) PetsCleared() bool { return m.clearedpets } @@ -3267,7 +3267,7 @@ func (m *UserMutation) ClearFriends() { m.clearedfriends = true } -// FriendsCleared returns if the "friends" edge to the User entity was cleared. +// FriendsCleared reports if the "friends" edge to the User entity was cleared. func (m *UserMutation) FriendsCleared() bool { return m.clearedfriends } diff --git a/entc/integration/multischema/ent/mutation.go b/entc/integration/multischema/ent/mutation.go index 6fcfc7ecd..a2675993e 100644 --- a/entc/integration/multischema/ent/mutation.go +++ b/entc/integration/multischema/ent/mutation.go @@ -179,7 +179,7 @@ func (m *GroupMutation) ClearUsers() { m.clearedusers = true } -// UsersCleared returns if the "users" edge to the User entity was cleared. +// UsersCleared reports if the "users" edge to the User entity was cleared. func (m *GroupMutation) UsersCleared() bool { return m.clearedusers } @@ -552,7 +552,7 @@ func (m *PetMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *PetMutation) OwnerCleared() bool { return m.clearedowner } @@ -917,7 +917,7 @@ func (m *UserMutation) ClearPets() { m.clearedpets = true } -// PetsCleared returns if the "pets" edge to the Pet entity was cleared. +// PetsCleared reports if the "pets" edge to the Pet entity was cleared. func (m *UserMutation) PetsCleared() bool { return m.clearedpets } @@ -970,7 +970,7 @@ func (m *UserMutation) ClearGroups() { m.clearedgroups = true } -// GroupsCleared returns if the "groups" edge to the Group entity was cleared. +// GroupsCleared reports if the "groups" edge to the Group entity was cleared. func (m *UserMutation) GroupsCleared() bool { return m.clearedgroups } diff --git a/entc/integration/privacy/ent/mutation.go b/entc/integration/privacy/ent/mutation.go index 3c438dcef..6da9b5ce2 100644 --- a/entc/integration/privacy/ent/mutation.go +++ b/entc/integration/privacy/ent/mutation.go @@ -319,7 +319,7 @@ func (m *TaskMutation) ClearTeams() { m.clearedteams = true } -// TeamsCleared returns if the "teams" edge to the Team entity was cleared. +// TeamsCleared reports if the "teams" edge to the Team entity was cleared. func (m *TaskMutation) TeamsCleared() bool { return m.clearedteams } @@ -367,7 +367,7 @@ func (m *TaskMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *TaskMutation) OwnerCleared() bool { return m.clearedowner } @@ -824,7 +824,7 @@ func (m *TeamMutation) ClearTasks() { m.clearedtasks = true } -// TasksCleared returns if the "tasks" edge to the Task entity was cleared. +// TasksCleared reports if the "tasks" edge to the Task entity was cleared. func (m *TeamMutation) TasksCleared() bool { return m.clearedtasks } @@ -877,7 +877,7 @@ func (m *TeamMutation) ClearUsers() { m.clearedusers = true } -// UsersCleared returns if the "users" edge to the User entity was cleared. +// UsersCleared reports if the "users" edge to the User entity was cleared. func (m *TeamMutation) UsersCleared() bool { return m.clearedusers } @@ -1357,7 +1357,7 @@ func (m *UserMutation) ClearTeams() { m.clearedteams = true } -// TeamsCleared returns if the "teams" edge to the Team entity was cleared. +// TeamsCleared reports if the "teams" edge to the Team entity was cleared. func (m *UserMutation) TeamsCleared() bool { return m.clearedteams } @@ -1410,7 +1410,7 @@ func (m *UserMutation) ClearTasks() { m.clearedtasks = true } -// TasksCleared returns if the "tasks" edge to the Task entity was cleared. +// TasksCleared reports if the "tasks" edge to the Task entity was cleared. func (m *UserMutation) TasksCleared() bool { return m.clearedtasks } diff --git a/entc/integration/template/ent/mutation.go b/entc/integration/template/ent/mutation.go index bc633358c..83fb6633f 100644 --- a/entc/integration/template/ent/mutation.go +++ b/entc/integration/template/ent/mutation.go @@ -568,7 +568,7 @@ func (m *PetMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *PetMutation) OwnerCleared() bool { return m.clearedowner } @@ -974,7 +974,7 @@ func (m *UserMutation) ClearPets() { m.clearedpets = true } -// PetsCleared returns if the "pets" edge to the Pet entity was cleared. +// PetsCleared reports if the "pets" edge to the Pet entity was cleared. func (m *UserMutation) PetsCleared() bool { return m.clearedpets } @@ -1027,7 +1027,7 @@ func (m *UserMutation) ClearFriends() { m.clearedfriends = true } -// FriendsCleared returns if the "friends" edge to the User entity was cleared. +// FriendsCleared reports if the "friends" edge to the User entity was cleared. func (m *UserMutation) FriendsCleared() bool { return m.clearedfriends } diff --git a/examples/edgeindex/ent/mutation.go b/examples/edgeindex/ent/mutation.go index 34420d71c..eee887ce4 100644 --- a/examples/edgeindex/ent/mutation.go +++ b/examples/edgeindex/ent/mutation.go @@ -177,7 +177,7 @@ func (m *CityMutation) ClearStreets() { m.clearedstreets = true } -// StreetsCleared returns if the "streets" edge to the Street entity was cleared. +// StreetsCleared reports if the "streets" edge to the Street entity was cleared. func (m *CityMutation) StreetsCleared() bool { return m.clearedstreets } @@ -550,7 +550,7 @@ func (m *StreetMutation) ClearCity() { m.clearedcity = true } -// CityCleared returns if the "city" edge to the City entity was cleared. +// CityCleared reports if the "city" edge to the City entity was cleared. func (m *StreetMutation) CityCleared() bool { return m.clearedcity } diff --git a/examples/m2m2types/ent/mutation.go b/examples/m2m2types/ent/mutation.go index f647fca1a..008a95fc6 100644 --- a/examples/m2m2types/ent/mutation.go +++ b/examples/m2m2types/ent/mutation.go @@ -177,7 +177,7 @@ func (m *GroupMutation) ClearUsers() { m.clearedusers = true } -// UsersCleared returns if the "users" edge to the User entity was cleared. +// UsersCleared reports if the "users" edge to the User entity was cleared. func (m *GroupMutation) UsersCleared() bool { return m.clearedusers } @@ -614,7 +614,7 @@ func (m *UserMutation) ClearGroups() { m.clearedgroups = true } -// GroupsCleared returns if the "groups" edge to the Group entity was cleared. +// GroupsCleared reports if the "groups" edge to the Group entity was cleared. func (m *UserMutation) GroupsCleared() bool { return m.clearedgroups } diff --git a/examples/m2mbidi/ent/mutation.go b/examples/m2mbidi/ent/mutation.go index cc62ab6b5..be10fbdd0 100644 --- a/examples/m2mbidi/ent/mutation.go +++ b/examples/m2mbidi/ent/mutation.go @@ -233,7 +233,7 @@ func (m *UserMutation) ClearFriends() { m.clearedfriends = true } -// FriendsCleared returns if the "friends" edge to the User entity was cleared. +// FriendsCleared reports if the "friends" edge to the User entity was cleared. func (m *UserMutation) FriendsCleared() bool { return m.clearedfriends } diff --git a/examples/m2mrecur/ent/mutation.go b/examples/m2mrecur/ent/mutation.go index c03d615b9..e76a0737b 100644 --- a/examples/m2mrecur/ent/mutation.go +++ b/examples/m2mrecur/ent/mutation.go @@ -236,7 +236,7 @@ func (m *UserMutation) ClearFollowers() { m.clearedfollowers = true } -// FollowersCleared returns if the "followers" edge to the User entity was cleared. +// FollowersCleared reports if the "followers" edge to the User entity was cleared. func (m *UserMutation) FollowersCleared() bool { return m.clearedfollowers } @@ -289,7 +289,7 @@ func (m *UserMutation) ClearFollowing() { m.clearedfollowing = true } -// FollowingCleared returns if the "following" edge to the User entity was cleared. +// FollowingCleared reports if the "following" edge to the User entity was cleared. func (m *UserMutation) FollowingCleared() bool { return m.clearedfollowing } diff --git a/examples/o2m2types/ent/mutation.go b/examples/o2m2types/ent/mutation.go index 153e59d1d..5495999f6 100644 --- a/examples/o2m2types/ent/mutation.go +++ b/examples/o2m2types/ent/mutation.go @@ -171,7 +171,7 @@ func (m *PetMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *PetMutation) OwnerCleared() bool { return m.clearedowner } @@ -591,7 +591,7 @@ func (m *UserMutation) ClearPets() { m.clearedpets = true } -// PetsCleared returns if the "pets" edge to the Pet entity was cleared. +// PetsCleared reports if the "pets" edge to the Pet entity was cleared. func (m *UserMutation) PetsCleared() bool { return m.clearedpets } diff --git a/examples/o2mrecur/ent/mutation.go b/examples/o2mrecur/ent/mutation.go index 178a55dae..54bf307de 100644 --- a/examples/o2mrecur/ent/mutation.go +++ b/examples/o2mrecur/ent/mutation.go @@ -193,7 +193,7 @@ func (m *NodeMutation) ClearParent() { m.clearedparent = true } -// ParentCleared returns if the "parent" edge to the Node entity was cleared. +// ParentCleared reports if the "parent" edge to the Node entity was cleared. func (m *NodeMutation) ParentCleared() bool { return m.clearedparent } @@ -237,7 +237,7 @@ func (m *NodeMutation) ClearChildren() { m.clearedchildren = true } -// ChildrenCleared returns if the "children" edge to the Node entity was cleared. +// ChildrenCleared reports if the "children" edge to the Node entity was cleared. func (m *NodeMutation) ChildrenCleared() bool { return m.clearedchildren } diff --git a/examples/o2o2types/ent/mutation.go b/examples/o2o2types/ent/mutation.go index cd0cb171f..e6030f727 100644 --- a/examples/o2o2types/ent/mutation.go +++ b/examples/o2o2types/ent/mutation.go @@ -209,7 +209,7 @@ func (m *CardMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *CardMutation) OwnerCleared() bool { return m.clearedowner } @@ -640,7 +640,7 @@ func (m *UserMutation) ClearCard() { m.clearedcard = true } -// CardCleared returns if the "card" edge to the Card entity was cleared. +// CardCleared reports if the "card" edge to the Card entity was cleared. func (m *UserMutation) CardCleared() bool { return m.clearedcard } diff --git a/examples/o2obidi/ent/mutation.go b/examples/o2obidi/ent/mutation.go index 2cb0b5d42..4f76ed044 100644 --- a/examples/o2obidi/ent/mutation.go +++ b/examples/o2obidi/ent/mutation.go @@ -227,7 +227,7 @@ func (m *UserMutation) ClearSpouse() { m.clearedspouse = true } -// SpouseCleared returns if the "spouse" edge to the User entity was cleared. +// SpouseCleared reports if the "spouse" edge to the User entity was cleared. func (m *UserMutation) SpouseCleared() bool { return m.clearedspouse } diff --git a/examples/o2orecur/ent/mutation.go b/examples/o2orecur/ent/mutation.go index 2e4716271..765b1087d 100644 --- a/examples/o2orecur/ent/mutation.go +++ b/examples/o2orecur/ent/mutation.go @@ -192,7 +192,7 @@ func (m *NodeMutation) ClearPrev() { m.clearedprev = true } -// PrevCleared returns if the "prev" edge to the Node entity was cleared. +// PrevCleared reports if the "prev" edge to the Node entity was cleared. func (m *NodeMutation) PrevCleared() bool { return m.clearedprev } @@ -231,7 +231,7 @@ func (m *NodeMutation) ClearNext() { m.clearednext = true } -// NextCleared returns if the "next" edge to the Node entity was cleared. +// NextCleared reports if the "next" edge to the Node entity was cleared. func (m *NodeMutation) NextCleared() bool { return m.clearednext } diff --git a/examples/privacytenant/ent/mutation.go b/examples/privacytenant/ent/mutation.go index 73eba722f..db608f278 100644 --- a/examples/privacytenant/ent/mutation.go +++ b/examples/privacytenant/ent/mutation.go @@ -176,7 +176,7 @@ func (m *GroupMutation) ClearTenant() { m.clearedtenant = true } -// TenantCleared returns if the "tenant" edge to the Tenant entity was cleared. +// TenantCleared reports if the "tenant" edge to the Tenant entity was cleared. func (m *GroupMutation) TenantCleared() bool { return m.clearedtenant } @@ -220,7 +220,7 @@ func (m *GroupMutation) ClearUsers() { m.clearedusers = true } -// UsersCleared returns if the "users" edge to the User entity was cleared. +// UsersCleared reports if the "users" edge to the User entity was cleared. func (m *GroupMutation) UsersCleared() bool { return m.clearedusers } @@ -951,7 +951,7 @@ func (m *UserMutation) ClearTenant() { m.clearedtenant = true } -// TenantCleared returns if the "tenant" edge to the Tenant entity was cleared. +// TenantCleared reports if the "tenant" edge to the Tenant entity was cleared. func (m *UserMutation) TenantCleared() bool { return m.clearedtenant } @@ -995,7 +995,7 @@ func (m *UserMutation) ClearGroups() { m.clearedgroups = true } -// GroupsCleared returns if the "groups" edge to the Group entity was cleared. +// GroupsCleared reports if the "groups" edge to the Group entity was cleared. func (m *UserMutation) GroupsCleared() bool { return m.clearedgroups } diff --git a/examples/start/ent/mutation.go b/examples/start/ent/mutation.go index a4ce81f1f..df4d0c7f3 100644 --- a/examples/start/ent/mutation.go +++ b/examples/start/ent/mutation.go @@ -211,7 +211,7 @@ func (m *CarMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *CarMutation) OwnerCleared() bool { return m.clearedowner } @@ -590,7 +590,7 @@ func (m *GroupMutation) ClearUsers() { m.clearedusers = true } -// UsersCleared returns if the "users" edge to the User entity was cleared. +// UsersCleared reports if the "users" edge to the User entity was cleared. func (m *GroupMutation) UsersCleared() bool { return m.clearedusers } @@ -1030,7 +1030,7 @@ func (m *UserMutation) ClearCars() { m.clearedcars = true } -// CarsCleared returns if the "cars" edge to the Car entity was cleared. +// CarsCleared reports if the "cars" edge to the Car entity was cleared. func (m *UserMutation) CarsCleared() bool { return m.clearedcars } @@ -1083,7 +1083,7 @@ func (m *UserMutation) ClearGroups() { m.clearedgroups = true } -// GroupsCleared returns if the "groups" edge to the Group entity was cleared. +// GroupsCleared reports if the "groups" edge to the Group entity was cleared. func (m *UserMutation) GroupsCleared() bool { return m.clearedgroups } diff --git a/examples/traversal/ent/mutation.go b/examples/traversal/ent/mutation.go index 41672ef3a..8ca15635b 100644 --- a/examples/traversal/ent/mutation.go +++ b/examples/traversal/ent/mutation.go @@ -181,7 +181,7 @@ func (m *GroupMutation) ClearUsers() { m.clearedusers = true } -// UsersCleared returns if the "users" edge to the User entity was cleared. +// UsersCleared reports if the "users" edge to the User entity was cleared. func (m *GroupMutation) UsersCleared() bool { return m.clearedusers } @@ -229,7 +229,7 @@ func (m *GroupMutation) ClearAdmin() { m.clearedadmin = true } -// AdminCleared returns if the "admin" edge to the User entity was cleared. +// AdminCleared reports if the "admin" edge to the User entity was cleared. func (m *GroupMutation) AdminCleared() bool { return m.clearedadmin } @@ -619,7 +619,7 @@ func (m *PetMutation) ClearFriends() { m.clearedfriends = true } -// FriendsCleared returns if the "friends" edge to the Pet entity was cleared. +// FriendsCleared reports if the "friends" edge to the Pet entity was cleared. func (m *PetMutation) FriendsCleared() bool { return m.clearedfriends } @@ -667,7 +667,7 @@ func (m *PetMutation) ClearOwner() { m.clearedowner = true } -// OwnerCleared returns if the "owner" edge to the User entity was cleared. +// OwnerCleared reports if the "owner" edge to the User entity was cleared. func (m *PetMutation) OwnerCleared() bool { return m.clearedowner } @@ -1122,7 +1122,7 @@ func (m *UserMutation) ClearPets() { m.clearedpets = true } -// PetsCleared returns if the "pets" edge to the Pet entity was cleared. +// PetsCleared reports if the "pets" edge to the Pet entity was cleared. func (m *UserMutation) PetsCleared() bool { return m.clearedpets } @@ -1175,7 +1175,7 @@ func (m *UserMutation) ClearFriends() { m.clearedfriends = true } -// FriendsCleared returns if the "friends" edge to the User entity was cleared. +// FriendsCleared reports if the "friends" edge to the User entity was cleared. func (m *UserMutation) FriendsCleared() bool { return m.clearedfriends } @@ -1228,7 +1228,7 @@ func (m *UserMutation) ClearGroups() { m.clearedgroups = true } -// GroupsCleared returns if the "groups" edge to the Group entity was cleared. +// GroupsCleared reports if the "groups" edge to the Group entity was cleared. func (m *UserMutation) GroupsCleared() bool { return m.clearedgroups } @@ -1281,7 +1281,7 @@ func (m *UserMutation) ClearManage() { m.clearedmanage = true } -// ManageCleared returns if the "manage" edge to the Group entity was cleared. +// ManageCleared reports if the "manage" edge to the Group entity was cleared. func (m *UserMutation) ManageCleared() bool { return m.clearedmanage }