goofballLogic / ld-query

Querying JSON-LD
MIT License
20 stars 6 forks source link

Updated attribute matching to handle attribute arrays #11

Closed gareth-robinson closed 7 years ago

gareth-robinson commented 7 years ago

I realised the attribute matching code couldn't handle attributes that were arrays e.g.

            "@type": [
                "http://www.example.org#deleteOperation",
                "http://www.w3.org/ns/hydra/core#DeleteResourceOperation"
            ],

I've updated and added additional scenarios

goofballLogic commented 7 years ago

@gareth-robinson do you have an npm username so I can add you as a collaborator - would allow you to do new npm releases.