Skip to content

Commit ce55682

Browse files
greenkeeperio-botzacharygolba
authored andcommitted
deps: update flow-bin to version 0.32.0 🚀 (#356)
* chore(package): update flow-bin to version 0.32.0 https://greenkeeper.io/ * chore: improve ci set up (#350) * chore: improve ci set up fix: add mssql to test-app dependencies * fix: use eol chars and reorder pgsql args * fix: cd back into the project root at the end of scripts/appveyor/before-test.ps1 * fix: disable cache for appveyor build * fix: use create/drop database instead of create/drop schema * fix: update appveyor os and platform config * fix: do not run flow on appveyor * fix: update postgres protocol in appveyor.yml * fix: postgres appveyor build * fix: run create/drop database script for mssql * fix: use different connection string for mssql * fix: use config object for database * fix: typo in test-app database config * refactor: speed up ci builds * fix: run postgres setup as batch on appveyor * fix: invalid appveyor.yml file * fix: do not test agains mssql or postgres on windows yet fix: new flow errors
1 parent 48d1cf8 commit ce55682

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"chai": "3.5.0",
5858
"documentation": "4.0.0-beta9",
5959
"eslint-plugin-flowtype": "2.11.4",
60-
"flow-bin": "0.31.1",
60+
"flow-bin": "0.32.0",
6161
"isomorphic-fetch": "2.2.1",
6262
"mocha": "3.0.2",
6363
"rollup-plugin-multi-entry": "2.0.1"

src/packages/controller/utils/params-to-query.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ export default function paramsToQuery(model: Model, {
5353
relationship
5454
] = relationships.find(([, { model: related }]) => {
5555
return key === related.resourceName;
56-
});
56+
}) || [];
5757

58-
if (!relationship) {
58+
if (!name || !relationship) {
5959
return result;
6060
}
6161

0 commit comments

Comments
 (0)