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

Migrate typeEnum function from a built-in into an oas custom function #924

Closed
3 tasks
nulltoken opened this issue Jan 18, 2020 · 0 comments · Fixed by #1051
Closed
3 tasks

Migrate typeEnum function from a built-in into an oas custom function #924

nulltoken opened this issue Jan 18, 2020 · 0 comments · Fixed by #1051
Assignees
Labels

Comments

@nulltoken
Copy link
Contributor

Chore summary
While working on #913, I tried to implement typedEnum as a custotom function. I eventually forfeited.

Having a custom functions with dependencies on external packages such as ajv and built-ins like assert and osdoesn't seem to work out of the box with the current rollup configuration.

Tasks

  • Migrate typedEnum as a custom oas function
  • Build a very rich custom function, with plenty of dependencies and ensure rollup and karma can digest it without further tweaking
  • Ensure the custom function creation documentation is in line with the required steps to make that work for the end user.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants