Skip to content
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

TypeError: functionMap[field.type] is not a function #142

Open
nihalna opened this issue Apr 5, 2023 · 2 comments
Open

TypeError: functionMap[field.type] is not a function #142

nihalna opened this issue Apr 5, 2023 · 2 comments

Comments

@nihalna
Copy link

nihalna commented Apr 5, 2023

When trying to create schema for a Contentful space which has pointer to content in another space(latest multi-space feature from Contentful), the script fails with the error: TypeError: functionMap[field.type] is not a function

@jbrewsterAML
Copy link

Getting the same error

eBitzu pushed a commit to eBitzu/contentful-typescript-codegen that referenced this issue Oct 5, 2023
@eBitzu
Copy link

eBitzu commented Oct 5, 2023

To fix this locally check the PR I made till it gets approved.

find the missing field.type and map it to something, for me it was ResourceLink

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

No branches or pull requests

3 participants