simplerdf / simplerdf-body-parser

:ok_hand: SimpleRDF body parser middleware
1 stars 0 forks source link

Making it simple #1

Open nicola opened 8 years ago

nicola commented 8 years ago

I am not sure that it is in the spirit of simplicity to do the following:

app.use(rdfBodyParser(rdfFormats))

Also, the element being called simple is a bit counter intuitive.

Can we not just call it .graph and hide the dependency with rdf-body-parser?

bergos commented 8 years ago

I want to avoid to many dependencies, but yes, it would be nice to call the rdfBodyParser automatically. I will have a look at it.

I don't want to call it .graph:

But I'm open to rename it. What do you think about .plain, .object or .json?