Replies: 1 comment
-
|
Hello @smolesen This topic has been discussed here #143 and I'm afraid this is a limitation of Facet, since the code is generated inside the same assembly A workaround for this, is to let Facet generate DTOs in your service project, then copy them to the nuget package project project during build: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my API I return DTOs from my service, the DTO are mapped from my domain model inside the controllers. The DTOs are placed in a Nuget package, so my clients can use it. My service has a dependency on the Nuget package with the DTOs, but the Nuget package doesn't have a dependency on the Domain model.
How would you put the facets in a Nuget package for others to use, without having a dependency on the domain model.
Beta Was this translation helpful? Give feedback.
All reactions