-
Notifications
You must be signed in to change notification settings - Fork 0
update queries/commands api to accept references instead of string ids (closes #50 closes #49 closes #52) #51
Conversation
abdc649
to
0bf1e98
Compare
482565e
to
5b7436d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about the types, everything else looks 👍
minor comments inline
@@ -22,18 +28,42 @@ | |||
}, | |||
"homepage": "https://github.com/buildo/react-avenger#readme", | |||
"devDependencies": { | |||
"@types/react": "^16.0.40", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we pin it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
src/commands.test.js
Outdated
it('runs a command forwarding all props', async () => { | ||
const run = jest.fn(Promise.resolve.bind(Promise)); | ||
const doFoo = Command({ | ||
params: { token: t.string }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add foo
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 done
This PR does a few things:
loading
#49: remove loadingtest plan
Didn't test on a project for the moment, see added tests