Skip to content

Conversation

@jmatsu
Copy link
Contributor

@jmatsu jmatsu commented Mar 25, 2024

Close #83

DeployGateSdkConfiguration class and DeployGate#install method appears only in com.deploygate.sdk artifact so those who use the entities would be faced with compilation errors on variants that use sdk-mock dependency.

This PR adds the classes above to sdkMock module as well.

BTW, to solve this issue completely, we must introduce automated code-generation tool to produce sdkMock classes instead of maintaining independently.

jmatsu added 2 commits March 22, 2024 16:17
test: Add a new testcase that uses these entities
We can also exclude this annotation in Javadoc step though, this tag doesn't make sense for now
@jmatsu jmatsu marked this pull request as ready for review March 25, 2024 01:53
@jmatsu jmatsu requested a review from satsukies March 25, 2024 01:53
Copy link
Member

@satsukies satsukies left a comment

Choose a reason for hiding this comment

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

LGTM 👍

By the way, what tool we can use for automatic code-generation?

@jmatsu
Copy link
Contributor Author

jmatsu commented Mar 25, 2024

APT doesn't work in this case, so we may need to create our own tool that uses AST parser.

@jmatsu jmatsu merged commit eb65e86 into master Mar 25, 2024
@jmatsu jmatsu deleted the jmatsu/fix/sdkMock_lack_interfaces branch March 25, 2024 04:10
@satsukies
Copy link
Member

we may need to create our own tool

I see. Sounds like difficult 😨

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.

4.7.0 breaks interface consistency between sdk and sdk-mock

3 participants