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