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: persist kotlin schemas during deploy #507

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

worstell
Copy link
Contributor

No description provided.

@worstell worstell force-pushed the worstell/20231012-support-kotlin-schema branch 2 times, most recently from bfed3b1 to 54ed725 Compare October 19, 2023 19:47
@worstell worstell force-pushed the worstell/20231019-hook-up-kotlin-schema branch from 0bfd460 to 8b8bd98 Compare October 19, 2023 19:48
Base automatically changed from worstell/20231012-support-kotlin-schema to main October 19, 2023 19:54
}
// TODO(worstell): clean up deploy cmd to handle language-specific stuff
if config.Language == "kotlin" {
schemaDirectory := config.Schema
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there some reason you thought a directory would be preferable? I thought this would just be a single file containing the module schema as a pb file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no i'm good with that!

Name: config.Module,
}
// TODO(worstell): clean up deploy cmd to handle language-specific stuff
if config.Language == "kotlin" {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will be used for Go as well, so we can remove this condition.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sg - i was thinking we'd eventually merge ftl-go behavior into ftl deploy and remove this during the refactor because i think presently this logic would break for Go modules (but maybe ftl deploy is already broken for go?)

will remove it!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah ftl delpoy doesn't currently work with Go

@worstell worstell force-pushed the worstell/20231019-hook-up-kotlin-schema branch from 8b8bd98 to 93c6b4e Compare October 19, 2023 20:26
@worstell worstell force-pushed the worstell/20231019-hook-up-kotlin-schema branch from 93c6b4e to 4ed5aca Compare October 19, 2023 20:27
@worstell worstell merged commit 9d0efcc into main Oct 19, 2023
8 checks passed
@worstell worstell deleted the worstell/20231019-hook-up-kotlin-schema branch October 19, 2023 20:29
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