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.

Update documentation for index route

See original GitHub issue

I think the documentation needs updated for an index route.

For example, this will break because app.calendar and app.calendar.index refer to the same route:

app.tsx
app.calendar.tsx
app.calendar.index.tsx

But this works as intended:

app.tsx
app.calendar.tsx
app.calendar._index.tsx

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
barbinbradcommented, Nov 28, 2022

Yes, that did it. Thank you.

0reactions
kilimancommented, Nov 28, 2022

You need to update ingoredRoutesFiles to ['**/*']. (ignore all files recursively)

Your config only ignores files starting with . in the root folder.

Read more comments on GitHub >

github_iconTop Results From Across the Web

git-update-index Documentation - Git
The way git update-index handles files it is told about can be modified using the ... By default, when a file path exists...
Read more >
elasticsearch - How to update routingId for set of documents
The only way you can achieve what you need, while keeping a consistent index, is to. first delete the document with the old...
Read more >
Indexing with Update Handlers :: Apache Solr Reference Guide
Index update commands can be sent as XML message to the update handler using Content-type: application/xml or Content-type: text/xml . Adding Documents. The...
Read more >
How to index documents - Whoosh - Read the Docs
This adds two documents to the index with identical path and title fields. See “updating documents” below for information on the update_document method, ......
Read more >
_routing field | Elasticsearch Guide [8.5] | Elastic
When using custom routing, it is important to provide the routing value whenever indexing, getting, deleting, or updating a document. Forgetting the routing...
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