export_sdl: add missing space before opening braces
This commit is contained in:
parent
b020ce5aee
commit
e427783936
|
@ -367,7 +367,7 @@ impl Registry {
|
|||
write!(sdl, " @tag(name: \"{}\")", tag.replace('"', "\\\"")).ok();
|
||||
}
|
||||
}
|
||||
writeln!(sdl, "{{").ok();
|
||||
writeln!(sdl, " {{").ok();
|
||||
|
||||
let mut values = enum_values.values().collect::<Vec<_>>();
|
||||
if options.sorted_enum_values {
|
||||
|
@ -418,7 +418,7 @@ impl Registry {
|
|||
write!(sdl, " @tag(name: \"{}\")", tag.replace('"', "\\\"")).ok();
|
||||
}
|
||||
}
|
||||
writeln!(sdl, "{{").ok();
|
||||
writeln!(sdl, " {{").ok();
|
||||
|
||||
let mut fields = input_fields.values().collect::<Vec<_>>();
|
||||
if options.sorted_fields {
|
||||
|
|
|
@ -7,23 +7,23 @@ type MyCustomObjInaccessible @inaccessible {
|
|||
customObjectInaccessible: Int! @inaccessible
|
||||
}
|
||||
|
||||
enum MyEnumInaccessible @inaccessible{
|
||||
enum MyEnumInaccessible @inaccessible {
|
||||
OPTION_A
|
||||
OPTION_B
|
||||
OPTION_C
|
||||
}
|
||||
|
||||
enum MyEnumVariantInaccessible{
|
||||
enum MyEnumVariantInaccessible {
|
||||
OPTION_A_INACCESSIBLE @inaccessible
|
||||
OPTION_B
|
||||
OPTION_C
|
||||
}
|
||||
|
||||
input MyInputObjFieldInaccessible{
|
||||
input MyInputObjFieldInaccessible {
|
||||
inputFieldInaccessibleA: Int! @inaccessible
|
||||
}
|
||||
|
||||
input MyInputObjInaccessible @inaccessible{
|
||||
input MyInputObjInaccessible @inaccessible {
|
||||
a: Int!
|
||||
}
|
||||
|
||||
|
|
|
@ -7,23 +7,23 @@ type MyCustomObjTagged @tag(name: "tagged") @tag(name: "object") @tag(name: "wit
|
|||
customObjectTagged: Int! @tag(name: "tagged_custom_object_field")
|
||||
}
|
||||
|
||||
enum MyEnumTagged @tag(name: "tagged_num"){
|
||||
enum MyEnumTagged @tag(name: "tagged_num") {
|
||||
OPTION_A
|
||||
OPTION_B
|
||||
OPTION_C
|
||||
}
|
||||
|
||||
enum MyEnumVariantTagged{
|
||||
enum MyEnumVariantTagged {
|
||||
OPTION_A_TAGGED @tag(name: "tagged_enum_option")
|
||||
OPTION_B
|
||||
OPTION_C
|
||||
}
|
||||
|
||||
input MyInputObjFieldTagged{
|
||||
input MyInputObjFieldTagged {
|
||||
inputFieldTaggedA: Int! @tag(name: "tagged_input_object_field")
|
||||
}
|
||||
|
||||
input MyInputObjTagged @tag(name: "input_object_tag"){
|
||||
input MyInputObjTagged @tag(name: "input_object_tag") {
|
||||
a: Int!
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue