Coder Social home page Coder Social logo

Comments (3)

adambajguz avatar adambajguz commented on June 14, 2024 1

Hi Alex,
Yes, this is exactly what I was asking for

from hateoas.

AlexzSouz avatar AlexzSouz commented on June 14, 2024

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.

AlexzSouz avatar AlexzSouz commented on June 14, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.