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

docs: Create multi-language custom types page #7340

Merged

Conversation

vikram-dagger
Copy link
Contributor

No description provided.

@vikram-dagger vikram-dagger force-pushed the docs-244-migrate-custom-types branch from 05456c2 to 6711200 Compare May 9, 2024 14:24
@helderco
Copy link
Contributor

I moved the snippets into paths that match the default location on dagger init. This makes it easier to bootstrap a module to test. For example:

cd snippets/custom-types/typescript
dagger init --sdk=typescript --source=. --name=github
dagger call dagger-organization members url

@vikram-dagger
Copy link
Contributor Author

vikram-dagger commented May 14, 2024

I moved the snippets into paths that match the default location on dagger init. This makes it easier to bootstrap a module to test. For example:

cd snippets/custom-types/typescript
dagger init --sdk=typescript --source=. --name=github
dagger call dagger-organization members url

I don't think we should make this change in the current PR, as this structure is not currently followed for other snippets and so it will create an inconsistency. I agree that we should do this in general, but I would prefer to do it globally for all snippets in a separate PR. Opened #7372

Copy link
Contributor

@helderco helderco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just needs a rebase

vikram-dagger and others added 5 commits May 15, 2024 22:17
Signed-off-by: Vikram Vaswani <vikram@dagger.io>
Signed-off-by: Vikram Vaswani <vikram@dagger.io>
Signed-off-by: Vikram Vaswani <vikram@dagger.io>
Signed-off-by: Vikram Vaswani <vikram@dagger.io>
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
@vikram-dagger vikram-dagger force-pushed the docs-244-migrate-custom-types branch from 3976bf6 to 41c99b7 Compare May 15, 2024 16:48
Signed-off-by: Vikram Vaswani <vikram@dagger.io>
Signed-off-by: Vikram Vaswani <vikram@dagger.io>
@vikram-dagger vikram-dagger merged commit 42b31b2 into dagger:main May 15, 2024
59 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.

None yet

3 participants