Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error generating Email entity, cannot find FileType data type #34

Open
lalberto8085 opened this issue Oct 14, 2022 · 2 comments
Open

Error generating Email entity, cannot find FileType data type #34

lalberto8085 opened this issue Oct 14, 2022 · 2 comments

Comments

@lalberto8085
Copy link

I was just generated the Email entity and there's a column named descriptionblobid of type FileType here's what I get in VsCode:

  // Description File Id FileType File that contains description content.
  descriptionblobid?: FileType | null;

where FileType is unknown, I'm not using that field right now and I can think of a workaround for it that is just creating a utility file with

type FileSystem = string;

OR

  descriptionblobid?: string | null;

and then fix every time we regenerate the file. Any advise is greatly appreciated, thanks

@scottdurow
Copy link
Owner

Hi @lalberto8085 - yes you are right - this is an issue with version 1 of dataverse-ify (scottdurow/dataverse-gen#12) - It is fixed in version 2 which is beta right now!
https://github.com/scottdurow/dataverse-ify/blob/v2/UPGRADING.md

You can upgrade to version 2 by using npm install dataverse-ify@2 with npx dataverse-gen@2
But your workarounds are both good in the mean-time!

@lalberto8085
Copy link
Author

Thank you very much, I will give it a try asap

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants