question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deprecation notice on source-filesystem on Gridsome 0.7.4

See original GitHub issue

Description

After upgrading to Gridsome 0.7.4 and source-filesystem 0.6.0 I am seeing the following deprecation notice on both develop and build:

The route option in addCollection() is deprecated. Use templates instead.
Documentation: https://gridsome.org/docs/templates/                      
./node_modules/@gridsome/source… -filesystem/index.js:43:23

Steps to reproduce

Just run develop or build

Expected result

Clean, no deprecation output

Environment


Libs:
- gridsome version: 0.7.4
- @gridsome/cli version: 0.2.2


Browser:
- [X ] Chrome (desktop) version 77.0.3865.75
 
For Tooling issues:
- Platform:  Mac

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
hjvedvikcommented, Sep 28, 2019

@cco3 I agree. Plugins should have the possibility to add deprecation notices too. Will try to make it possible in v0.8.

1reaction
hjvedvikcommented, Sep 20, 2019

The deprecation notice means that the route option should be moved to a templates config. You can read more about it by following the URL in the notice 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gridsome v0.7
Enjoy Vue Components in Markdown, new Schema API, File-based dynamic ... Deprecation notices: Better deprecation messages in terminal.
Read more >
Planning of Electric Power Distribution Technical Principles
The follow-up, “Planning of Electric Power Distribution – Products and Systems”, is being prepared. It will feature those technical details and descriptions ...
Read more >
Distributed Generation | PDF | Cogeneration - Scribd
Distributed Generation - Free ebook download as PDF File (.pdf), ... generating sources are called as distributed generators (DG) and defined as the...
Read more >
Full text of "Financial Times , 1979, UK, English"
IB cfis 0.80-0.75 dis 8.10105 dls Warning on arms treaty by Carter BY ... modernisation of theatre nuclear force systems which is being...
Read more >
Cambridge IGCSE International Mathematics [2&nbsp
produce an answer from a given source or recall/memory. Investigate ... This helped to develop the decimal system of numbers. ... 0.5 60%...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found