You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,10 @@ A knockoutjs extension to connect to a GraphQL endpoint through an ApolloClient
6
6
* Utilises the structure and loading features of [ko.plus](http://stevegreatrex.github.io/ko.plus/) for queries and mutations
7
7
8
8
## How it works
9
-
Attaches additional methods to Observables/Observable Arrays via a [Custom Function](http://knockoutjs.com/documentation/fn.html). This library is strongly influenced by [Vue-Apollo](https://github.com/Akryum/vue-apollo).
9
+
Attaches additional methods to Observables/Observable Arrays via a [Custom Function](http://knockoutjs.com/documentation/fn.html). This library is strongly influenced by [Vue-Apollo v1](https://github.com/Akryum/vue-apollo).
10
10
11
11
## Requirements
12
-
*[Apollo Client & Apollo Link](https://github.com/apollographql/apollo-client)
* And `cd knockout-apollo` and type `npm install`.
25
-
* Then `npm run tests` (we use Meteor Tests as a server for the demo)
26
-
* To update demo.js with any of your changes open a new terminal and `npm run watch`.
27
-
* Once Meteor is up and running open a third terminal, cd to the project root and `npm run demo` to open in Chrome.
25
+
* Then `npm run test` (we use Meteor Tests as a server for the demo)
26
+
* To update any of the demo files open a new terminal and `npm run watch` to save changes to `dist/demo.js`.
27
+
* Once Meteor is up and running open a third terminal, cd to the project root and `npm run demo` to open in Firefox.
28
28
29
29
## Tests
30
30
In the terminal cd to the `tests` folder and `meteor test --driver-package=practicalmeteor:mocha --port 3002`. Or, from project root, `npm run tests`.
@@ -48,4 +48,3 @@ None sorry.
48
48
*[The Anatomy of a GraphQL Query](https://dev-blog.apollodata.com/the-anatomy-of-a-graphql-query-6dffa9e9e747) - Apollo Blog by Sashko Stubailo. The code follows these definitions.
49
49
*[Apollo-Vue](https://github.com/Akryum/vue-apollo) - contains good non-React examples
50
50
*[Meteor-Ticker](https://github.com/quintstoffers/meteornl-ticker) - Apollo+Meteor app showcasing GraphQL subscriptions in its simplest form
51
-
*[How to get Apollo 2.0 working with GraphQL + subscriptions](https://medium.com/@michaelcbrook/how-to-get-apollo-2-0-working-with-graphql-subscriptions-321388be030c)
Copy file name to clipboardExpand all lines: changelog.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
# Changelog of Knockout Apollo
2
2
3
+
#### 0.5.0
4
+
* Upgraded to Apollo v3 (no breaking changes)
5
+
* Enabled accessible methods for the Apollo Client of watchQuery, subscribe, readQuery, readFragment, writeQuery, writeFragment, resetStore, onResetStore, clearStore, onClearStore, stop and reFetchObservableQueries
3
6
#### 0.4.1
4
7
* Upgraded Browsersync to lastest version to correct dependency vulnerability
0 commit comments