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

feat: adapt default outputPaths on default generators #158

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

jonaslagoni
Copy link
Contributor

@jonaslagoni jonaslagoni commented Oct 30, 2024

Fixes #154

So with;

		{
			preset: 'client',
			outputPath: './src/__nats__/client',
			language: 'typescript',
			protocols: ['nats'],
		}

So the outputPaths would then be; src/__nats__/client/channels, src/__nats__/client/channels/parameters, and src/__nats__/client/channels/payloads

And given;

		{
			preset: 'client',
			outputPath: './src/__nats__/channels',
			language: 'typescript',
			protocols: ['nats'],
		},
		{
			preset: 'channels',
			outputPath: './src/__nats__/channels',
			language: 'typescript',
			protocols: ['nats'],
		},

The outputPaths would be src/__nats__/client/channels/parameters, and src/__nats__/client/channels/payloads

Copy link

netlify bot commented Oct 30, 2024

Deploy Preview for the-codegen-project canceled.

Name Link
🔨 Latest commit 61e79c5
🔍 Latest deploy log https://app.netlify.com/sites/the-codegen-project/deploys/6721f9e6f42e8a000813094c

@jonaslagoni jonaslagoni changed the title fix: adapt implementation and test feat: adapt default outputPaths on default generators Oct 30, 2024
@jonaslagoni jonaslagoni merged commit 1944cab into main Oct 30, 2024
13 checks passed
@jonaslagoni jonaslagoni deleted the adapt_default_output_path branch October 30, 2024 09:50
@jonaslagoni
Copy link
Contributor Author

🎉 This PR is included in version 0.23.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When using client preset it seems to not respect my custom channel generator
1 participant