- Oct 13, 2023
-
-
Konrad Mohrfeldt authored
-
- Jun 18, 2023
-
-
Konrad Mohrfeldt authored
Pinia store destructuring doesn’t work on the plain store object. One has to use storeToRefs or keep the original store object. see: https://pinia.vuejs.org/core-concepts/
-
- Jun 17, 2023
-
-
Konrad Mohrfeldt authored
refs #146
-
- Jun 16, 2023
-
-
Konrad Mohrfeldt authored
Django rest framework would sometimes return objects like this { "email": ["Gib eine gültige E-Mail Adresse an."] } which we didn’t properly handle.
-
- Jun 09, 2023
-
-
Konrad Mohrfeldt authored
The useServerErrors function returns an object with optional keys. This is fine sometimes but it would be nice to have individual variables containing errors for each field and more importantly we need to display errors than cannot be mapped to an individual form field.
-
Konrad Mohrfeldt authored
Using a string key begs for conflicts.
-
- Jun 08, 2023
-
-
Konrad Mohrfeldt authored
API object attribute names are now: 1. camelCased (#164) 2. use Id / Ids suffix for object references (#172)
-
- Apr 09, 2023
-
-
Konrad Mohrfeldt authored
This can be used in views to parse the error state from steering responses.
-
Konrad Mohrfeldt authored
-
Konrad Mohrfeldt authored
-
Konrad Mohrfeldt authored
-
Konrad Mohrfeldt authored
We have properties like header, that contain objects that need to be merged recursively.
-
- Apr 06, 2023
-
-
Konrad Mohrfeldt authored
We sometimes will want to use these in instanceof checks to narrow down types so they should have been exported in the first place.
-
Konrad Mohrfeldt authored
-
Konrad Mohrfeldt authored
The type for new or updated data rarely is the same as the one returned from the API as the data will likely include readonly fields that should not be modified.
-
Konrad Mohrfeldt authored
The cached result is usually sufficient and we don’t necessarily need fresh data from the API.
-
Konrad Mohrfeldt authored
-
Konrad Mohrfeldt authored
-
Konrad Mohrfeldt authored
API store consumers shouldn’t be able to modify the internal state of the store.
-
- Apr 05, 2023
-
-
Konrad Mohrfeldt authored
Not all API endpoints will have the same behaviour. Some may only allow updates but can’t remove items, others will use a paginated result list instead of a plain result array.
-
Konrad Mohrfeldt authored
Sometimes it’s nice to let the URLBuilder build other URLBuilders.
-
- Feb 28, 2023
-
-
Konrad Mohrfeldt authored
-
Konrad Mohrfeldt authored
-