-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type [undefined] has been mapped to [any] because no specific type has been found. #92
Comments
weird |
OP could you share the DDL of one of your table (for example test_article)? |
I also encountered this error message when I used postgres' composite types. For example for this SQL definition: CREATE TYPE TEST_COMPOSITE as (
first_name text,
last_name text
);
CREATE TABLE test (
id UUID PRIMARY KEY,
test_composite TEST_COMPOSITE
); This typescript is generated: export namespace testFields {
export type id = string;
export type test_composite = any | null;
}
export interface test {
id: testFields.id;
test_composite: testFields.test_composite;
} |
Did anyone find a solution to this? |
I also encountered this problem, and I don't know how to solve it. |
when I run this command, it always show the message that you have seen in the title.
And the file which has been generated is like this:
How can I fix this problem?
node version is 8.9.1
schemats version is 3.0.3
The text was updated successfully, but these errors were encountered: