Code Monkey home page Code Monkey logo

Comments (5)

rednafi avatar rednafi commented on July 3, 2024

@jasonvriends Hi, I couldn't reproduce your issue. When does that happen? Also, I just released an update with the latest version of FastAPI and Pydantic. Please take a pull and try to run again. Let me know if this issue persists.

from fastapi-nano.

jasonvriends avatar jasonvriends commented on July 3, 2024

@rednafi thank you for getting back to me. I think the issue was due to my development environment with WSL. I installed Docker Desktop for Windows and the issues with Docker, Docker Compose, etc. all disappeared.

Another question if you don't mind. Is the intention that you would create a folder for each crud operation? i.e. getActivity, getActivities, etc. or would the folder contain all CRUD operations for a single tag?

from fastapi-nano.

rednafi avatar rednafi commented on July 3, 2024

@jasonvriends It's all good then. Great. Thanks for the confirmation.

To answer your question, creating a new folder for each crud operation seems really overkill to me. What if you want to develop and extend something where you have to create like 20-30 crud APIs. In that case, creating a separate folder for each action will soon become unmaintainable and your APIs will have to pay the cost of unnecessary imports.

I'd go with a single tag and extend if the necessity arises by domain logic rather than by CRUD actions.

from fastapi-nano.

jasonvriends avatar jasonvriends commented on July 3, 2024

Thanks.

from fastapi-nano.

rednafi avatar rednafi commented on July 3, 2024

Alright. I think the issue can be closed then. Thanks 👍

from fastapi-nano.

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.