mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
Not using IntlString scalar anymore
This commit is contained in:
parent
2c03bd352a
commit
9700c4bbaf
1 changed files with 2 additions and 1 deletions
|
@ -20,8 +20,9 @@ const getGraphQLType = (schema, fieldName) => {
|
|||
const type = field.type.singleType;
|
||||
const typeName = typeof type === 'object' ? 'Object' : typeof type === 'function' ? type.name : type;
|
||||
|
||||
// intl fields should be treated as strings
|
||||
if (field.intl) {
|
||||
return 'IntlString';
|
||||
return 'String';
|
||||
}
|
||||
|
||||
switch (typeName) {
|
||||
|
|
Loading…
Add table
Reference in a new issue