frictionlessdata / datapackage-js

A JavaScript library for working with Data Package.
http://frictionlessdata.io/
MIT License
42 stars 15 forks source link

Resource property "path: <path>" is deprecated #78

Closed anuveyatsu closed 6 years ago

anuveyatsu commented 7 years ago

I am getting following error for data packages with resource path as a string ("path": "data/resource.csv"):

Resource property "path: <path>" is deprecated.
           Please use "path: [path]" instead (as array).

Was it decided to specify resource path as an array only or is it still under discussion?

roll commented 7 years ago

It's an implementation based on unofficial specs-v1.0-rc.2 revision. And final revision has returned support for path: <string>. We will update it after specs v1 release. I suppose for now it just logs warnings not errors.