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

Missing enum for creating associations #475

Open
deanidean opened this issue Mar 18, 2024 · 5 comments
Open

Missing enum for creating associations #475

deanidean opened this issue Mar 18, 2024 · 5 comments

Comments

@deanidean
Copy link

In continuation of #466, the auto-generated enum AssociationSpecAssociationCategoryEnum is not exported, but required for creating associations.

@ryanSN
Copy link

ryanSN commented Apr 30, 2024

Agree, this make it unusable because we can't even pass in a string

export enum AssociationSpecAssociationCategoryEnum {

@4rch1m3d35
Copy link

Im having the same issue.

@gajus
Copy link

gajus commented Aug 26, 2024

Same issue.

@gajus
Copy link

gajus commented Aug 26, 2024

CC @ksvirkou-hubspot @atanasiuk-hubspot @asalauyeu-hubspot

Just need to export AssociationSpecAssociationCategoryEnum from the package.

@jnicklas
Copy link

I'm also facing this issue. It means you cannot create an association with proper typings. You can work around this by casting to any or using @ts-ignore, but neither of those solutions should be needed. This is something that HubSpot really should fix.

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

5 participants