Playing with Bookshelf tutorial and the Auth package.
The ListBooksCreatedBy query is failing with this error:
could not list books: datastoredb: could not list books: rpc error: code = FailedPrecondition desc = no matching index found. recommended index is:
- kind: Book
properties:
- name: CreatedByID
- name: Title
However, index.yaml does exist and is in the same directory as app.yaml :
index YAML content:
indexes:
# This index enables filtering by "CreatedByID" and sort by "Title".
- kind: Book
properties:
- name: CreatedByID
direction: asc
- name: Title
direction: asc
Why would the index not be imported?
Where in the Golang App Engine code is the index.yaml imported?
I searched the src and found nothing.