keystonejs/keystone-classic

Keystone issues with Meteor

Open

#3,887 opened on 2017年1月13日

GitHub で見る
 (10 comments) (4 reactions) (1 assignee)JavaScript (14,656 stars) (2,288 forks)batch import
feature requesthelp wantedlow priority

説明

I'm trying to use Keystone as an admin back-end for a database populated by a Meteor app, and I'm running into a few issues.

  1. Only a single item appears in a list.
  2. The item's URL is keystone/posts/null.

https://d3vv6lp55qjaqc.cloudfront.net/items/0P191E3a0N0u3q470m1M/Screen%20Shot%202017-01-13%20at%2011.14.30.png?X-CloudApp-Visitor-Id=d40749865873d7b5ab32c80852150f74&v=81e04dac

@michaelrambeau, who also ran into the same issue when trying to use Keystone with a different Meteor app, suggested it might be due to the fact that Meteor uses strings as IDs instead of MongoDB object IDs (see idGeneration here).

Any idea what I can do about this? I've seen it suggested to add _id: String, to my model, but that leads to a Path _id on list Post is a reserved path error.

コントリビューターガイド