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

[IDEA] feat: importer to make deserialization easier #465

Open
jkowalleck opened this issue Oct 8, 2023 · 0 comments
Open

[IDEA] feat: importer to make deserialization easier #465

jkowalleck opened this issue Oct 8, 2023 · 0 comments
Labels
enhancement New feature or request idea

Comments

@jkowalleck
Copy link
Member

jkowalleck commented Oct 8, 2023

now taht we have validators, it should be possible to write an importer, like the outputters ...

it should take an arbitrary string,
detect the schema from it, and validate against it
if no schema can be detected, then try trom latest to odest ...

if validaion fails: throw
else: return BOM

tesying: integration test is fine

  • load the CDX test data, serialize again, and check for valid data or equalness...

this should imprive the deserialization a lot

@jkowalleck jkowalleck added the enhancement New feature or request label Oct 8, 2023
@jkowalleck jkowalleck added this to the 5.0.0 milestone Oct 8, 2023
@jkowalleck jkowalleck changed the title feat: importer to make serialization easy [IDEA] feat: importer to make deserialization easier Oct 10, 2023
@jkowalleck jkowalleck removed this from the 5.0.0 milestone Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request idea
Projects
None yet
Development

No branches or pull requests

1 participant