StatelessCat / RDF-REST.JS

simple in-memory RDF store for JS
3 stars 0 forks source link

#06418f1a382ec1ba65aa15bdf640d01273b92ed7 is breaking resource.edit() #6

Closed StatelessCat closed 9 years ago

StatelessCat commented 9 years ago

when executing core1.js expected:

<http://champin.net/#pa> <http://ex.co/vocab#label> "Pierre-Antoine Champin".
<http://champin.net/#pa> <http://ex.co/vocab#type> <http://ex.co/vocab#Person>.
----

<http://champin.net/#pa> <http://ex.co/vocab#label> "Pierre-Antoine Champin".
<http://champin.net/#pa> <http://ex.co/vocab#type> <http://ex.co/vocab#Person>.
---- 

<http://champin.net/#pa> <http://ex.co/vocab#label> "Pierre-Antoine Champin".
<http://champin.net/#pa> <http://ex.co/vocab#type> <http://ex.co/vocab#Person>.

But we got :

<http://champin.net/#pa> <http://ex.co/vocab#label> "Pierre-Antoine Champin".
<http://champin.net/#pa> <http://ex.co/vocab#type> <http://ex.co/vocab#Person>.
----

---- 
StatelessCat commented 9 years ago

before #06418f1a382ec1ba65aa15bdf640d01273b92ed7 it was fine. Must investigate to understand why it break

StatelessCat commented 9 years ago

Here we need to returns a Promise that fullfill when the parsing finish (when all triples has been added to the graph)