Skip to content

Test#10

Open
ncanna2 wants to merge 4121 commits intoAddepar:masterfrom
ncanna2:master
Open

Test#10
ncanna2 wants to merge 4121 commits intoAddepar:masterfrom
ncanna2:master

Conversation

@ncanna2
Copy link

@ncanna2 ncanna2 commented Mar 20, 2019

A test

runspired and others added 30 commits August 29, 2018 20:32
Ilios is an open source application built to manage the curriculum of
medical, pharmacy, dental, and nursing health science degrees. It
is sponsored by UCSF and used at universities around the world.
In my experimentation, I've discovered that though the promise returned from `store.query()` does have array-like methods on it, the actual `AdapterPopulatedRecordArray` is what the promise *resolves to*. For example, the `length` property of the object returned from `store.query` will always be `0`. The object which the promise resolves to will represent the actual length of the records that were queried.

The documentation for `store.query` states plainly that the AdapterPopulatedRecordArray is the *resolution* of the promise, but the documentation here misrepresented that.

For example, the original code actually would behave like this:
```javascript
  // GET /users?isAdmin=true
  var admins = store.query('user', { isAdmin: true });

  admins.then(function() {
    console.log(admins.get("length")); // Throws: "admins.get" is not a function
  });
```
This prevents a timeout if build and test take longer than 10 minutes.
…ntend

Add partner test for the ilios frontend
I was mucking about with google-closure-compiler and it tripped up on these deletes that are not for properties. Looking at the blame, looks like they may have been left over from some find/replacing.
[DOC release] Change misleading documentation for AdapterPopulatedRecordArray
warp-drive-data#5627)

* Feed options through HasManyReference.

* Feed options through BelongsToReference.

* Record Data: Feed options through HasManyReference.

* Record Data: Feed options through BelongsToReference.

* Test HasManyReference.

* Test BelongsToReference.

* Improve documentation.
[FEAT RecordData] turn on the build-flag by default
- Add test for capturing error details
…uest-response-info-with-abort-error

Include request/response info with Abort error
[BUGFIX] fix deprecation for store entry methods
…partner-tests

Add a couple of ED-related add-ons as external partner tests
* [CHORE] move ilios external-partner test to first in queue

* [CHORE] organize all jobs longest to shortest

* move production job up a slot

* update comments
ppcano and others added 30 commits March 7, 2019 12:07
This PR makes changes the known to be empty behavior. It allows a second get request without an include string will keep any relationship data that the model knows about.
* Don't reopen class, use original relationship
* Don't use Ember.run
According to RELEASE.md, release is not done through this tool. Let's
remove it, as it triggers a long list of warnings.
integration/relationships/inverse-relationships-test
move ember-fetch to a peer-dependency

fix jsonapi adapter tests

add tests for fetch
* Fix lint error

* Fix `_requireBuildPackages` error

* Reset yarn.lock from master

There seems to be some issues in the yarn.lock

To solve them I ran:
- `git checkout master yarn.lock`
- `yarn`

Throw an error in case of dependency mismatch (#2)

* Throw an error in case of dependency mismatch

An app (or addon) that consumes ember-data should have:
- either jquery
- or ember-fetch version 6.0.0 or above

Throw a build error if it's not the case.

* Remove ember-fetch as a peerDependency

Move ember-fetch to dependencies (#3)

Indeed, two `ember-fetch`'s modules are imported in rest-adapter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.