-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Please quote datatype while reporting.
The problem here was incorrect { data_type => ' integer' }
. Please not space.
So it would be much better to understand what was wrong with integer
:
@@ -376,7 +380,7 @@ sub to_graphql {
my $fulltype = _apply_modifier(
!$info->{is_nullable} && 'non_null',
$rawtype
- // die "'$column' unknown data type: @{[lc $info->{data_type}]}\n",
+ // die "'$column' unknown data type: '@{[lc $info->{data_type}]}'",
);
$fields{$column} = +{ type => $fulltype };
$name2fk21{$name}->{$column} = 1 if $info->{is_foreign_key};
And please, remove \n
from die
/warn
s. Because of that new line, it is completely ambiguous from which module this error has come:
Can't load application from file "/home/kes/work/projects/plum/app/script/invoice": 'document_type_id' unknown data type: integer
Thank you.
Metadata
Metadata
Assignees
Labels
No labels