Skip to content

Conversation

samuelscheit
Copy link

source:

class MyObject {
    bigint1: bigint;
}

translates to:

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
        "bigint1": {
            "type": "bigint"
        }
    }
}
  • I've updated the test-primitives test

@domoritz
Copy link
Collaborator

Can you fix the tests?

@samuelscheit
Copy link
Author

idk how, can you help me with that?

@LukasDoesDev
Copy link

@Flam3rboy Can you run the test yourself and add console.log('AJV Errors:', ajv.errors); before assert.equal(ajv.errors, null, "The schema is not valid"); in the test/schema.test.ts file? You could get more information on the errors that way.

@domoritz
Copy link
Collaborator

If you run yarn test, you will see the test failures locally as well.

@carleryd
Copy link

carleryd commented Feb 23, 2023

Any updates here? This is blocking me now. Perhaps I will open a PR since this looks inactive

EDIT: I realised even with this working it wouldn't solve my problem so I won't be pursuing it

@xdumaine
Copy link

xdumaine commented Apr 3, 2023

this resolved an issue for me too, just FYI, would love to help get this finished and merged.

@domoritz
Copy link
Collaborator

domoritz commented Apr 3, 2023

Can you make a new pull request? I'll close this as the tests didn't run.

@domoritz domoritz closed this Apr 3, 2023
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.

5 participants