Comments (2)
In case of missing queries or resources, I think they library should throw an error. NgrxJsonApiService provides methods to query a remote server. From the moment the query is issued, there is some state in the store (a stored resource resp. query) that can be selected. If that is not around, it is most likely an error.
to get errors, etc. so far I select directly the ResourceQueryStore resp. ResourceStore. Then I see the state, json api errors, actual data, etc. all at once. Seems ok to be.
from ngrx-json-api.
I update the service for QueryResult to extend StoreQuery. This will expose the state of the query to the subscriber.
With StoreResource/Resource the same thing is done already
from ngrx-json-api.
Related Issues (20)
- reducer performance issues for API Success HOT 1
- Resource relationships HOT 2
- Angular 5 problems HOT 4
- API_GET_FAILED does not reset isLoading state
- document filtering and sorting HOT 1
- State does not return to `IN_SYNC` when patching resoruce HOT 5
- No url encoding - causes issues with special characters such as "[" HOT 1
- Support filter=value without path HOT 1
- Not an issue HOT 1
- Optionally add zone to pipes HOT 1
- NgrxJsonApiZoneService applies pending changes in reverse order HOT 2
- Add support of JSON:API Operations HOT 2
- Status of the project HOT 3
- Optional supports for sending changed attributes & relationships only in PATCH operation payload
- Add support for Atomic Operations Extension
- Remove package-lock.json HOT 1
- Send `meta` when creating/updating a resource
- Type mismatch in QueryParams interfaces HOT 1
- Angular 9 Support HOT 4
- Review README of the 9.0.x branch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngrx-json-api.