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: remove FTL ingress in favor of a single HTTP ingress type #867

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

worstell
Copy link
Contributor

@worstell worstell commented Feb 1, 2024

We will only support a single HTTP ingress type. If no ingress type is specified in a schema declaration, the default type will be HTTP.

@worstell worstell force-pushed the worstell/20240201-single-http-ingress-type branch from eb0b02e to 671c305 Compare February 1, 2024 19:45
@@ -0,0 +1,33 @@
// Code generated by FTL-Generator, do not edit.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

added this testdata/dependencies directory which gets loaded up and added to the classpath for the detekt tests with type resolution. we can use it to add generated sources likeftl.builtin and ftl.time, ensuring these types get resolved in tests

@@ -16,12 +18,20 @@ import kotlin.test.AfterTest

@KotlinCoreEnvironmentTest
internal class ExtractSchemaRuleTest(private val env: KotlinCoreEnvironment) {
@BeforeEach
Copy link
Contributor Author

Choose a reason for hiding this comment

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

here's where we add those testdata/dependencies files to the classpath

Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice!

We will only support a single HTTP ingress type. If no ingress type is specified in a schema declaration, the default type will be HTTP.
@worstell worstell force-pushed the worstell/20240201-single-http-ingress-type branch from 671c305 to b12cbce Compare February 1, 2024 20:12
@worstell worstell merged commit 6157cbc into main Feb 1, 2024
11 checks passed
@worstell worstell deleted the worstell/20240201-single-http-ingress-type branch February 1, 2024 20:17
@alecthomas
Copy link
Collaborator

Awesome, thanks Lizzy!

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.

3 participants