Skip to content

Conversation

urwithsumit
Copy link
Contributor

cleaning the pattern match for dispatch-core version and keeping it to the currently available 2.0.0 version.

sumit_kumar and others added 8 commits February 3, 2025 17:12
…ing against this version. From the project the version of the dispatch-core can be configured using the configuration, compile / scalaxb / scalaxbDispatchVersion.

Since the supporting templates are been added to the scalaxb, the dispatch-core 2.0.0 version should work fine.

eed3si9n#673
Corrected Driver.scala version pattern match for dispatch-core 2.0.0 version.
Udpate Log4j to the latest 2.24.x and fixed Log.scala to support the updated log4j jars.
Update scala 2.13 version to the latest 2.13.16
Updated default version of Dispatch-core to 1.2.0 and updated the corresponding pattern to support the .y in Driver.scala
This reverts commit 9b10b6d.
// Same as 0.13.x
generateDispatchFromResource(style, "/httpclients_dispatch0130", config)
case (VersionPattern(2, 0 | 2, _), style) =>
case (VersionPattern(2, 0, _), style) =>
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
case (VersionPattern(2, 0, _), style) =>
case (VersionPattern(2, _, _), style) =>

I suggest wildcard match here so it matches all 2.x.

@eed3si9n eed3si9n merged commit 788ebd8 into eed3si9n:develop Feb 13, 2025
2 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.

3 participants