https://github.com/amiel/emberfire-monkeypatch-issue
https://github.com/amiel/emberfire-monkeypatch-issue
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/amiel/emberfire-monkeypatch-issue
- Owner: amiel
- Created: 2017-05-24T23:34:37.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-25T00:07:10.000Z (about 9 years ago)
- Last Synced: 2024-10-03T12:33:10.778Z (over 1 year ago)
- Language: JavaScript
- Size: 77.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# emberfire-monkeypatch-issue
This README outlines the details of collaborating on this Ember application.
A short introduction of this app could easily go here.
## Prerequisites
You will need the following things properly installed on your computer.
* [Git](https://git-scm.com/)
* [Node.js](https://nodejs.org/) (with NPM)
* [Bower](https://bower.io/)
* [Ember CLI](https://ember-cli.com/)
* [PhantomJS](http://phantomjs.org/)
## Installation
* `git clone ` this repository
* `cd emberfire-monkeypatch-issue`
* `yarn install`
* `bower install`
## Testing the example
* `ember serve`
* Visit at [http://localhost:4200](http://localhost:4200).
* Open the development console
* Click on the "Create a comment" button
* Notice error in the development console
## Exaplanation
This issue occurs when a project including emberfire, and has a response to creating or updating a record that has an `included` section. I'm not actually sure if this is possible for models using the `FirebaseAdapter`. We ran in to this issue with a model that does not use `FirebaseAdapter`.
Example data can be found in the [comment adapter](https://github.com/amiel/emberfire-monkeypatch-issue/blob/master/app/adapters/comment.js#L13-L38).