Repository navigation
Basic support for Slick 3.5.x - #378
Merged
Merged
Conversation
Closed
luksow
added a commit
that referenced
this pull request
Jul 22, 2024
* Rename CaseClass1Rep to ValueClassLike * Create ValueEnumLike and EnumLike interfaces * Implement ValueEnumLike and EnumLike interfaces * Minor naming fix * Rename CaseClass1Rep to ValueClassLike also in tests * Resolve conflict in changes.md * Introduce Enumeration to EnumLike implicit macro * Introduce implicit macro Enumeratum to EnumLike converter * Remove scala3 enum support for testing reasons * Fixed scala2 Enumeration support bug * Scala 2.12.18 support drop * Added s3 enum support * Added s3 enumeratum support * Introduced support for enumeratum value-enum. In progress * Added value enum for s3 support. Still bugs in value enumeratum s2 * Added debug comments in KebsValueEnumeratum * Changed debug comments in KebsValueEnumeratum * Draft for value enumeratum debug * Structure types value enums. * Remove redundant wrappers, introduce package files and common tests for s2 and s3 * Scala 2.12.18 support drop * Revert "Scala 2.12.18 support drop" This reverts commit 9790377. * Fixed cyclic reference bug * Introduce package objects in enum and enumeratum tests * Introduce EnumLike and ValueEnumLike in slick and circe support. Tests CirceValueEnumDecoderEncoderTest and SlickMappedValueEnumColumnTypeTests not working, commented them out for now. * Bring back one test for slick and one test for circe that cause errors * Replace EnumOf and ValueEnumOf in favour of EnumLike and ValueEnumLike in all s2 modules * Moved domain files in http4s-stir and in http4s to dedicated domain package * Pekko http unmarshall test debug * Bring back kebsValueEnumUnmarshaller * Solved ambiguity problem. Type safety bug remains * Throw an exception when generic types in pekko-http unmarshaller macros are conflicting * Remove redundant import * Rewrite core and enum module to the state before struct types * Replace struct types with mixed trait * Remove redundant enum macros from core * Fix http4sStirSupport unmarshaller test * Remove implicits prioritisation * Update README with a migration guide * Make conversion from Product to VCL optional * Use FlatCaseClass1 * Rename FlatCaseClass1 to CaseClass1ToValueClass * Update README * Proper package naming convention, works for s2 * Proper packages naming convention for s2 and s3 * Remove minor bug in README * Remove minor bug regarding instance keyword in README * Enum interface refactor and minor stylistic fixes * Remove instances naming bug * Fix naming * removing redundant dependencies and code * doobie enumeratum fix * remove unnecessary import * slick - add enumeratum only for tests * pekko-http - enumeratum in tests only * remove duplication * http4s-stir - enumeratum in tests only * moving model to separate package object * circe - model refactor * removing redundancy in scalacheck module * Bumps pre-Slick 3.5.x * Basic support for Slick 3.5.x (#378) * Basic support for Slick 3.5.x * Buming CI to 3.3.3 * given -> implicit for ValueClassReps * Removing -Xsource:3 temporarily * Slick cleanup * Unused cleanup. --------- Co-authored-by: agrodowski <[email protected]> Co-authored-by: Antoni Grodowski <[email protected]> Co-authored-by: Paweł Kiersznowski <[email protected]> Co-authored-by: pkiersznowski <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slick 3.5.x support built on top of #351 by @AnthonyGrod