You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@7nohe
I am starting to believe we should remove the feature and let the consumers run linting and formatting as duplicating the work of the underlying service generator will be difficult to maintain parity as they do not expose it to other files.
A work around is running the pretter after running the service gen.
@7nohe I am starting to believe we should remove the feature and let the consumers run linting and formatting as duplicating the work of the underlying service generator will be difficult to maintain parity as they do not expose it to other files.
A work around is running the pretter after running the service gen.
@seriouslag
I agree with you. Typically, users do import the output and call functions, but they do not usually modify it. It is best to allow users to make any desired changes after the generation.
Describe the bug
With
--format prettier
, no formatting seems to happen for files generated inapi/queries
.To Reproduce
Create a
.prettierrc
with some non-default formatting setting and run with--format prettier
.OpenAPI spec file
n/a
Expected behavior
File in
api/queries
should get formatted just like the ones inapi/requests
do.Screenshots
n/a
Additional context
The effect can be seen in https://github.com/eclipse-apoapsis/ort-server/pull/224/files.
The text was updated successfully, but these errors were encountered: