Git Product home page Git Product logo

Comments (9)

rlarno avatar rlarno commented on May 28, 2024 1

Sorry, my bad, not the template but my project evolved from the template.

Currently, I created a new project using the new template, and then did a manual diff between that new version and my project. (which obviously already has evolved from the pristine template). Is there a 'better' way? I almost wish I could replay the commits onto my project and review the changes made (running the tests for each/most changes, to ensure it still works)

from cleanarchitecture.

ArefAbdoli avatar ArefAbdoli commented on May 28, 2024

Hi. In "config.nswag" file change value of "aspNetCoreEnvironment" property from null to string like "LocalDevelopment" and try again.

from cleanarchitecture.

stpanzer avatar stpanzer commented on May 28, 2024

The fundamental issue is an incompatibility between Nswag.FluentValidation and the version of NJsonSchema provided by Nswag, there is an open issue in that repository here: zymlabs/nswag-fluentvalidation#14

from cleanarchitecture.

saurabhverma-kashiit avatar saurabhverma-kashiit commented on May 28, 2024

Any solution to this issue, I am stuck and tried many things but still not able to run!

from cleanarchitecture.

saurabhverma-kashiit avatar saurabhverma-kashiit commented on May 28, 2024

Hi. In "config.nswag" file change value of "aspNetCoreEnvironment" property from null to string like "LocalDevelopment" and try again.

not working

from cleanarchitecture.

jasontaylordev avatar jasontaylordev commented on May 28, 2024

I released a new version, 8.0.3 that does not use NSwag.FluentValidation. Please upgrade to the latest version of the template and try again.

from cleanarchitecture.

rlarno avatar rlarno commented on May 28, 2024

Hi, what is the best approach to update to the new version?

from cleanarchitecture.

jasontaylordev avatar jasontaylordev commented on May 28, 2024

dotnet new update Clean.Architecture.Solution.Template

from cleanarchitecture.

jasontaylordev avatar jasontaylordev commented on May 28, 2024

One approach you could use to compare changes between versions is as follows:

  1. Create Project1 using old template dotnet new ca-sln ...
  2. Run:
     git init
     git add .
     git commit -m "Initial project"
  3. Delete all the solution and project files (except .git)
  4. Upgrade to new template dotnet new install ...
  5. Create again in same folder using dotnet new ca-sln ...

You can then compare the changes in git.

from cleanarchitecture.

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.