FaunaDB Adapter Setup -- Fauna Shell Commands Fail
See original GitHub issueTitle
Fauna Adapter Setup – Fauna Shell Commands Fail
How to reproduce ☕️
When using documentation-provided Fauna shell commands, the collections are created but not the indexes. You receive this error.
Error: [
{
"position": [],
"code": "validation failed",
"description": "document data is not valid.",
"failures": [
{
"field": [
"source"
],
"code": "invalid reference",
"description": "Cannot read reference."
}
]
}
]
Your question/bug report 📓
The solution is to separately run the CreateCollection calls altogether, then run the CreateIndex calls altogether.
In other words, just a documentation change from one block to two blocks of commands to run. Maybe a sentence clarifying that they are to be run separately.
Contributing 🙌🏽
Yes, I am
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
shell - Fauna Documentation
Description. Starts an interactive query shell for sending queries to Fauna. It is not possible to use this command to run queries in...
Read more >JavaScript driver - Fauna Documentation
The faunadb.query module contains all of the functions to create Fauna query expressions. Instantiating a client. javascript
Read more >Examples - Fauna Documentation
Log in to Fauna Dashboard. Click on an existing database, or create a new database. Click the Security button in the left navigation...
Read more >Vercel integration - Fauna Documentation
The Install Vercel/Fauna Connector screen. Each project that you have selected appears on this screen asking for permission to access a specific database....
Read more >fauna-shell reference - Fauna Documentation
Requirements; Installation; Command reference. fauna-shell is a command line tool that provides several capabilities: An interactive query command line that ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep, docs should be alright! 🙏
Still thinking through the automation of versioning/publishing of packages, but that does not affect the docs site.
@edizyurdakul Thanks for confirmation to proposed solution. @balazsorban44 is monorepo ready for documentation PRs? I can submit