Comments (3)
Hi Alex,
Yes, this is exactly what I was asking for
from hateoas.
Hi Adam! If I understood your request correctly, yes, it is possible.
It supposed to part of my Roadmap, I started implementing this feature a few days ago, but I dropped it. I'll get back to it asap.
However, to make sure we're on the same page, would you be looking for your read-model to be something as below?
[
{
"id": "83389205-b1c9-4523-a3bb-85d7255546f9",
"title": "The Girl Beneath the Sea (Underwater Investigation Unit Book 1)",
"author": "Andrew Mayne",
"tags": [ "Crime", "Thriller" ],
"links": [
{
"method": "GET",
"uri": "https://google.com/search?q=The Girl Beneath the Sea (Underwater Investigation Unit Book 1)",
"relation": "Google Search External Links",
"message": "This will do a search on Google engine."
},
{
"method": "GET",
"uri": "https://my-domain.com/api/books/83389205-b1c9-4523-a3bb-85d7255546f9",
"relation": "Custom Domain External Link"
}
]
},
{
"id": "8f46d29e-6c0d-4511-85e7-b1d7ae42934a",
"title": "The Girl Who Lived: A Thrilling Suspense Novel",
"author": "Christopher Greyson",
"tags": [ "Fiction", "Murder", "Thriller" ],
"links": [
{
"method": "GET",
"uri": "https://google.com/search?q=The Girl Who Lived: A Thrilling Suspense Novel",
"relation": "Google Search External Links",
"message": "This will do a search on Google engine."
},
{
"method": "GET",
"uri": "https://my-domain.com/api/books/8f46d29e-6c0d-4511-85e7-b1d7ae42934a",
"relation": "Custom Domain External Link"
}
]
}
]
from hateoas.
Hello @adambajguz, the links in collection feature was added to this released.
I will be closing this issue, and I hope you enjoy the feature!
from hateoas.
Related Issues (7)
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 hateoas.