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

Oppgrader oxigraph #92

Open
NilsOveTen opened this issue Dec 12, 2024 · 0 comments · May be fixed by #93
Open

Oppgrader oxigraph #92

NilsOveTen opened this issue Dec 12, 2024 · 0 comments · May be fixed by #93
Assignees
Labels

Comments

@NilsOveTen
Copy link
Contributor

to deprekerte metoder:

dump_graph -> dump_graph_to_writer
.dump_graph_to_writer(GraphNameRef::DefaultGraph, RdfFormat::Turtle, &mut buff)?;
der buff nå er Vec

load_graph -> load_from_reader

load_from_reader(
    RdfParser::from_format(RdfFormat::Turtle)
        .without_named_graphs()
        .with_default_graph(GraphNameRef::DefaultGraph),
    graph.to_string().as_bytes().as_ref()
)?;

Oppgraderingen vil også gjøre at turtle-output vil se litt forskjellig ut, og vil derfor knekke tester. Finn en løsning for Turtle i testene, bruk annet format i testene eller finn en måte å sjekke om de er er isomorfe i stedet for å sejekke sortert string

@NilsOveTen NilsOveTen changed the title Oggrader oxigraph Oppgrader oxigraph Dec 13, 2024
@NilsOveTen NilsOveTen self-assigned this Dec 13, 2024
@NilsOveTen NilsOveTen moved this from 🆕 New to 🏗 In progress in Informasjonsforvaltning Utvikling Dec 13, 2024
@NilsOveTen NilsOveTen linked a pull request Dec 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

1 participant