Namespace not honored when RelativeLinks=true
See original GitHub issueDescription
In the GettingStarted App if you set RelativeLinks = true;
the links in response do not include the namespace. Should it not return "self": "api/people"
?
services.AddJsonApi<SampleDbContext>(options =>
{
options.Namespace = "api";
options.RelativeLinks = true;
});
{
"links": {
"self": "/people"
},
"data": [
{
"type": "people",
"id": "1",
"attributes": {
"name": "John Doe"
},
"relationships": {
"articles": {
"links": {
"self": "/people/1/relationships/articles",
"related": "/people/1/articles"
...
…
Environment
- JsonApiDotNetCore Version: master
- Other Relevant Package Versions: core 3.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
helm 3: --namespace not respected · Issue #5628
The namespace value just isn't being passed through properly. So it uses whatever your active namespace is, workaround is to change your active ......
Read more >Namespaces
In Kubernetes, namespaces provides a mechanism for isolating groups of resources within a single cluster. Names of resources need to be unique ...
Read more >'the type or namespace could not be found' in Visual Studio ...
Every time I do a git pull from remote to update my branch, Visual Studio 2017 shows "the type or namespace could not...
Read more >How to fix — Kubernetes namespace deleting stuck in ...
After running that command, the namespace should now be absent from your namespaces list. The key thing to note here is the resource...
Read more >How to fix Kubernetes namespaces stuck in the terminating ...
While frequently creating and deleting namespaces in Kubernetes, I stumbled upon an issue where a namespace got stuck in the Terminating state ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bart-degreed will do
@fdlane Do you wanna take this one?