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

Smart compile functions using JTDDataType #2309

Open
Ethan-Arrowood opened this issue Jul 20, 2023 · 0 comments
Open

Smart compile functions using JTDDataType #2309

Ethan-Arrowood opened this issue Jul 20, 2023 · 0 comments

Comments

@Ethan-Arrowood
Copy link

What version of Ajv you are you using?
v8

What problem do you want to solve?
I want the compileParser function to be smarter (including compileSerializer too)

What do you think is the correct solution to problem?

Adding the following overload to the function:

compileParser<R = unknown, T = JTDDataType<R>>(schema: R): JTDParser<T>;

Will you be able to implement it?
Maybe, I leave for vacation July 22nd-Aug 15th. I may be able to get a PR done today/tomorrow, but won't be available until after Aug 15th to complete it.

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

No branches or pull requests

1 participant