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 post_generate comment #968

Merged
merged 3 commits into from
Sep 19, 2024
Merged

Fix post_generate comment #968

merged 3 commits into from
Sep 19, 2024

Conversation

lorenzoh
Copy link
Contributor

@lorenzoh lorenzoh commented Sep 19, 2024

This fixes the comment

// This command will be run from within $output_dir

to say

// This command will be run from within baml_client/$output_dir

which is correct. See for example the following shell output:

> baml-cli generate
[2024-09-18T15:24:21Z INFO  internal_baml_codegen] Running "npx ..." in java/baml_client <----

For a generator with output_dir "../java"

This fixes the comment

> `    // This command will be run from within $output_dir`

to say

> `    // This command will be run from within baml_client/$output_dir`

which is correct. See for example the following shell output:

```sh
> baml-cli generate
[2024-09-18T15:24:21Z INFO  internal_baml_codegen] Running "npx @openapitools/openapi-generator-cli generate -i openapi.yaml -g java -o . --additional-properties invokerPackage=com.boundaryml.baml_client,modelPackage=com.boundaryml.baml_client.model,apiPackage=com.boundaryml.baml_client.api,java8=true" in java/baml_client <----
```

For a generator with `output_dir "../java"`
Copy link

vercel bot commented Sep 19, 2024

@lorenzoh is attempting to deploy a commit to the Gloo Team on Vercel.

A member of the Team first needs to authorize it.

@hellovai hellovai merged commit 919c79f into BoundaryML:canary Sep 19, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants