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
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Multiple segments is clearly a fundamental requirement but in the author's defense he stipulates this is only a toy library and "not for production". He also notes he will break at-will versus using semantic versioning? Not sure why that's the case. Anyway, he's at least honest about limitations. It's a nice little tool for what it was intended for.
You can actually change the property names to strings, but you'll get "unknown ID fruits" or an error to that effect if you add a key "/produce/fruits/citrus" for example.
produce/
produce/fruits
produce/fruits/citrus
It's unfortunate because it's relatively close to being more generally useful. I think I will start from scratch and add a simple key-value lookup where key is URL and value is JSON response. So essentially you add an interceptor (easy and baked into Angular HTTP) that does a look-up of the URL on a dictionary. Something like that.
Activity
cogitaria-admin commentedon Mar 3, 2019
Multiple segments is clearly a fundamental requirement but in the author's defense he stipulates this is only a toy library and "not for production". He also notes he will break at-will versus using semantic versioning? Not sure why that's the case. Anyway, he's at least honest about limitations. It's a nice little tool for what it was intended for.
You can actually change the property names to strings, but you'll get "unknown ID fruits" or an error to that effect if you add a key "/produce/fruits/citrus" for example.
produce/
produce/fruits
produce/fruits/citrus
It's unfortunate because it's relatively close to being more generally useful. I think I will start from scratch and add a simple key-value lookup where key is URL and value is JSON response. So essentially you add an interceptor (easy and baked into Angular HTTP) that does a look-up of the URL on a dictionary. Something like that.