我正在瀏覽中繼文檔,並在RANGE_ADD中找到以下代碼。 class IntroduceShipMutation extends Relay.Mutation {
// This mutation declares a dependency on the faction
// into which this ship is to be introduced.
sta
我有這個簡單的查詢,這在我Graphql工作正常,但我無法通過使用繼電器組件的數據,我不知道爲什麼:( {
todolist { // todolist returns array of objects of todo
id
text
done
}
}
這是我在試圖傳遞組件的數據代碼使用繼電器: class TodoList extends
我已經成功設置了所有內容,但不幸的是我的GraphQL端點與服務客戶端的網站不在同一位置。 我,因爲它說的瀏覽器的錯誤控制檯知道這一點:然後 http://localhost:3000/graphql Failed to load resource: the server responded with a status of 404 (Not Found) 三次放棄。 我使用Relay的頁面確實在