Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix errors in dotnet Cobigen template #153

Open
quantumfate opened this issue Nov 24, 2022 · 1 comment
Open

Fix errors in dotnet Cobigen template #153

quantumfate opened this issue Nov 24, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@quantumfate
Copy link

quantumfate commented Nov 24, 2022

Expected behavior

As a developer, I want to be able to generate boilerplate code without errors and a documentation should work as expected.

Actual behavior

The devon4net Cobigen Guide instructs the user to run the command dotnet new Devon4NetAPI. It will install the templates that will be used for the generation.

image

The directory name Devon4Net.Application.WebAPI.Implementation differs from the name used in the dotnet template that is going to be called by Cobigen.

This behavior can be changed to achieve a semi-expected result by renaming the installed directory name to Devon4Net.WebAPI.Implementation but it doesn't change the fact that the project has lots of wrong imports and errors.

Take a look at my comment in devonfw/cobigen#1442 (comment) for more information.

Steps to reproduce (bug) / Use Case of feature request (enhancement)

You can use the images for the documentation and as a reference to reproduce this issue that I put together in devon4net doc.zip.

Related/Dependent Issues

#152

@quantumfate quantumfate added the bug Something isn't working label Nov 24, 2022
@JosepFe
Copy link
Contributor

JosepFe commented Jan 3, 2023

The templates used by Cobigen have been modified to be fully aligned with the current version of devon4net.

A new pull request has been opened with these changes, when approved and merged with the main Cobigen branch the problem will be fixed. PR link: devonfw/cobigen#1621

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants