mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
cli-ext: fix sdl formatting
closes https://github.com/hasura/graphql-engine/issues/7296 https://github.com/hasura/graphql-engine-mono/pull/2012 Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com> GitOrigin-RevId: 41383e1f88c709c6cae4059a1b4fb8f2a58259e6
This commit is contained in:
parent
f6987ca4ff
commit
0341037aeb
@ -2,9 +2,10 @@
|
||||
|
||||
## Next release
|
||||
(Add entries below in the order of server, console, cli, docs, others)
|
||||
- console: fix untracked foreign-key relationships suggestion across schemas
|
||||
|
||||
- server: fix for incorrect `__typename` value in nested remote joins with a customized remote schema
|
||||
- console: fix untracked foreign-key relationships suggestion across schemas
|
||||
- cli: fix SDL formatting in `actions.graphql`(#7296)
|
||||
|
||||
## v2.0.5
|
||||
|
||||
|
@ -227,7 +227,7 @@ const getArgumentsSdl = args => {
|
||||
const getFieldsSdl = fields => {
|
||||
const fieldsSdl = fields.map(f => {
|
||||
const argSdl = f.arguments ? getArgumentsSdl(f.arguments) : '';
|
||||
return ` ${getEntityDescriptionSdl(f)}${f.name} ${argSdl}: ${f.type}`;
|
||||
return ` ${getEntityDescriptionSdl(f)}${f.name}${argSdl}: ${f.type}`;
|
||||
});
|
||||
return fieldsSdl.join('\n');
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user