GFlisch / Arc4u.Guidance.Doc

Other
5 stars 1 forks source link

(Guidance 2022.2.1.14) Generated services do not contain `IsInvokedByNSwag`: only the Yarp service does #246

Open vvdb-architecture opened 3 weeks ago

vvdb-architecture commented 3 weeks ago

When generating a new solution with the Guidance, the Yarp host contains the IsInvokedByNSwag static method in Program.cs.

But when generating the other services, no such method is present. It should be present there as well, since it's actually more useful there.

GFlisch commented 3 weeks ago

Hi Vincent,

In theory this is added when needed. For example when we add a database or an hangfire project.

Need to test this.

When I add a project from scratch I don't need this, I can generate the proxy with NSwag.


From: vvdb-architecture @.> Sent: Friday, June 28, 2024 08:18 To: GFlisch/Arc4u.Guidance.Doc @.> Cc: Subscribed @.***> Subject: [GFlisch/Arc4u.Guidance.Doc] (Guidance 2022.2.1.14) Generated services do not contain IsInvokedByNSwag: only the Yarp service does (Issue #246)

When generating a new solution with the Guidance, the Yarp host contains the IsInvokedByNSwag static method in Program.cs.

But when generating the other services, no such method is present. It should be present there as well, since it's actually more useful there.

— Reply to this email directly, view it on GitHubhttps://github.com/GFlisch/Arc4u.Guidance.Doc/issues/246, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNE2KOFBHMUI65N4IFR3XLZJT5ZRAVCNFSM6AAAAABKBHDGCGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TSNRXGU2TQNQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>