Skip to content

Comments

Remove enums from core api#622

Merged
ejizba merged 2 commits intov3.xfrom
ej/enums
Aug 26, 2022
Merged

Remove enums from core api#622
ejizba merged 2 commits intov3.xfrom
ej/enums

Conversation

@ejizba
Copy link
Contributor

@ejizba ejizba commented Aug 23, 2022

Depends on Azure/azure-functions-nodejs-library#6 (see that PR for more description).

The additional files in src/coreApi/converters were super tedious to create and literally the only thing they do is convert enums to strings (while keeping everything else the same). However, I consider the tedium worth it in the worker to save us the pain of enums in the library packages. Also, TypeScript was very good at giving me build errors when I messed things up on these converter methods, which gives me confidence in the changes.

@ejizba ejizba requested a review from hossam-nasr August 23, 2022 21:29
@ejizba ejizba merged commit ce45658 into v3.x Aug 26, 2022
@ejizba ejizba deleted the ej/enums branch August 26, 2022 01:47
ejizba added a commit that referenced this pull request Aug 26, 2022
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

Successfully merging this pull request may close these issues.

2 participants