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

[WIP] Fix complilation of code containing basic types when called from the API #115

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/test/e2e/cypress/integration/code-generation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('Schemata View Tests', function () {
cy.wait(500).contains('button', 'Source').click()

cy.editorContent('#source-editor').should('contain', 'public final class SalutationHappened')
cy.editorContent('#source-editor').should('contain', 'String foo')
cy.editorContent('#source-editor').should('contain', 'String foo') // Reproduces #98
})
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

public class JavaCodeGenSchemaVersionResolverTests{
@Test
// Reproduces #98
public void testThatSpecificationsContainingBasicTypesCanBeCompiledWithSchemaVersionQueryTypeResolver() throws Exception {
World world = TestWorld.startWithDefaults(getClass().getSimpleName()).world();
TypeParser typeParser = world.actorFor(TypeParser.class, AntlrTypeParser.class);
Expand Down