Skip to content

Pass schema to processCode #1194

Closed
@awlayton

Description

@awlayton

What version of Ajv you are you using?

6.12.0

What problem do you want to solve?

I am using the processCode option to instrument my generated code and it would be useful for my instrumentation to have access to information from my schemas.

What do you think is the correct solution to problem?

I think the schema should be passed as a second parameter to the processCode function.

Will you be able to implement it?

Yes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions