Commit Graph

22 Commits

Author SHA1 Message Date
Sunli
e4d04faaa0 Generate @deprecated to SDL. #874
Expose `Connection::edges` #871
2022-03-22 11:09:31 +08:00
Sunli
5dad855f8e Export @oneOf directive to SDL when Oneof type is defined. #766 2022-03-05 09:06:59 +08:00
Sunli
a4b840a984 Add support for oneof field on object. #766 2022-03-04 21:24:17 +08:00
Sunli
df3312363e Add OneOfObject macro to support for oneof input object. #766 2022-02-17 19:35:55 +08:00
Sunli
707890e551 Add Union and Interface support for trait objects. #780
Clippy clean
2022-01-11 09:35:09 +08:00
Sunli
6a12847d4b Clippy clean 2021-04-12 16:01:03 +08:00
Sunli
664bc9b073 Fixed an error in exporting Federation SDL. 2021-04-12 15:46:49 +08:00
Sunli
577fa5ded6 Fix Schema::sdl() does not include subscription definitions. #464 2021-04-01 20:56:14 +08:00
Sunli
6e2fe32be0 Add SchemaBuilder::enable_subscription_in_federation method. #449 2021-03-20 17:22:18 +08:00
Sunli
197b3ae0a9 Export subscription type to Federation SDL. 2021-03-09 14:54:54 +08:00
Taiki Endo
f3e488c6a6 Fix format of InputObject in SDL 2021-03-07 15:35:47 +09:00
Sunli
d723717e4b Add descriptions for the exported Federation SDL. 2021-03-06 08:38:19 +08:00
Sunli
5b5740e682 Export sdl for interface to implements another interface. #322 2020-11-07 08:49:08 +08:00
Koxiaet
153a61d73a Rustfmt 2020-10-26 15:14:53 +00:00
Daniel Wiesenberg
fdd9bd19dd Change interface SDL to adhere to spec
When only one interface is implemented, there is no &. The & is only to combine more than one interface.
2020-10-26 14:58:36 +01:00
Koxiaet
1205d6e91e Remove itertools dependency 2020-10-16 06:37:48 +01:00
Koxiaet
93c886af07 Make imports consistent 2020-10-15 07:38:10 +01:00
Sunli
5d315ec6d2 Clippy clean. 2020-09-27 19:29:23 +08:00
Sunli
fae50062e0 Fix the problem when generating Federation SDL. #283 2020-09-27 18:49:04 +08:00
Daniel Wiesenberg
eeb38b69cf Run Rustfmt and Clippy 2020-09-23 15:54:33 +02:00
Daniel Wiesenberg
125eb74fbc Export description with Registry::export_sdl 2020-09-23 15:47:04 +02:00
Sunli
312b8f13d8 Add Schema::sdl method. #191 2020-09-23 14:14:22 +08:00