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
Our repo is setup as follows. (We are using NX for managing build orchestration/targets/dependencies/artifacts). We have a custom output directory set in our root Directory.Build.props that is set to an absolute path. (/home/krbourg/code/alloy/dist)
We are seeing the Strawberry Shake code generation output files to the following location: /libs/shared/infrastructure/strawberry-shake-server-client/home/krbourg/work/code/alloy/dist/libs/shared/infrastructure/strawberry-shake-server-client
It seems to be taking our absolute path, and treating it as if it should be relative to the project directory.
Steps to reproduce
Create new dotnet project within a nested folder and add strawberry shake + schema/operations. (We used StrawberryShake.Server & StrawberryShake.Tool)
Add a Directory.Build.props file to the root directory and specify an absolute path for the <BaseIntermediateOutputPath> property.
Build project and observe the code generated relative to the project directory.
Relevant log output
No response
Additional Context?
No response
Product
Strawberry Shake
Version
13.0.0-preview.76
The text was updated successfully, but these errors were encountered:
kellyrbourg
changed the title
Strawberry Shake's generated code does handle custom output directory properly.
Strawberry Shake's generated code does not handle custom output directory properly.
Nov 4, 2022
Is there an existing issue for this?
Describe the bug
Our repo is setup as follows. (We are using NX for managing build orchestration/targets/dependencies/artifacts). We have a custom output directory set in our root Directory.Build.props that is set to an absolute path. (/home/krbourg/code/alloy/dist)
We are seeing the Strawberry Shake code generation output files to the following location:
/libs/shared/infrastructure/strawberry-shake-server-client/home/krbourg/work/code/alloy/dist/libs/shared/infrastructure/strawberry-shake-server-client
It seems to be taking our absolute path, and treating it as if it should be relative to the project directory.
Steps to reproduce
<BaseIntermediateOutputPath>
property.Relevant log output
No response
Additional Context?
No response
Product
Strawberry Shake
Version
13.0.0-preview.76
The text was updated successfully, but these errors were encountered: