Giter Club home page Giter Club logo

Comments (6)

andrechristikan avatar andrechristikan commented on August 11, 2024 3

You guys are awesome.
That would be helpful. I really appreciate it !!!

If we want to implement GraphQL, so will the change request life cycle. I think we need to fully consume the design of clean architecture or hexagonal architecture, and that will cause a lot of breaking changes. Actually, I'm fine with breaking changes, as long as it resolve our problems.

Example of breaking changes

Request life cycle

  • current
    The client only accesses endpoints through Rest.

    1. client
    2. controller layer
    3. service layer
    4. repository layer
    5. db layer
  • new
    The client can choose whatever they want to use between the Rest or GraphQL.

    1. client
    2. incoming request layer / rest controller or graph controller
    3. controller layer
    4. service layer
    5. repository layer
    6. db layer

Implement CRQS

We need to consume the CRQS pattern so we can resolve the problem of the difference in incoming request layer.

Or do you guys have better implementation ? Feel free to discuss.

from ack-nestjs-boilerplate.

Yon12853 avatar Yon12853 commented on August 11, 2024 2

Maybe if you suggest the approach, my friend and I can help in integrating GraphQL with this repo. We're familiar with GraphQL, but we're not sure what the appropriate and clean (or better) method is to integrate GraphQL with this repo. We sincerely wish to help.

from ack-nestjs-boilerplate.

andrechristikan avatar andrechristikan commented on August 11, 2024 1

It sounds great!
Yeah.. I'm considering making this project support GraphQL too.
Maybe to make that happen, the project will consume design of Domain-driven design (DDD).

But I do not know when the time has come. For now on, I'm really busy :)

from ack-nestjs-boilerplate.

Yon12853 avatar Yon12853 commented on August 11, 2024 1

This sounds awesome! We will implement this method. If we have questions we will mention it here.

from ack-nestjs-boilerplate.

jiayisheji avatar jiayisheji commented on August 11, 2024 1

The hexagon structure about nestjs guide at https://github.com/Sairyss/domain-driven-hexagon. I'm learning, too.

from ack-nestjs-boilerplate.

github-actions avatar github-actions commented on August 11, 2024

This issue is stale because it has been open for 30 days with no activity.

from ack-nestjs-boilerplate.

Related Issues (20)

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.