Remove singular/plural from field-metadata (#2085)
* Remove singular/plural from field-metadata * revert removing id from create input * remove console log * remove console log * codegen * missing files * fix tests
This commit is contained in:
@ -7,8 +7,7 @@ export const getFieldAliases = (fields: FieldMetadata[]) => {
|
||||
if (values.length === 1) {
|
||||
return {
|
||||
...acc,
|
||||
// TODO: Handle plural for fields when we add relations
|
||||
[column.nameSingular]: values[0],
|
||||
[column.name]: values[0],
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user