mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
This commit is contained in:
parent
0780ceef03
commit
a677c62dae
@ -33,6 +33,9 @@ const RootFieldEditor = ({
|
||||
if (rfType.includes('select')) {
|
||||
return rfType.replace('select', tableName);
|
||||
}
|
||||
if (rfType.includes('one')) {
|
||||
return rfType.replace('one', tableName) + '_one';
|
||||
}
|
||||
return `${rfType}_${tableName}`;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user