Skip to content

Basic support for Slick 3.5.x - #378

Merged
luksow merged 6 commits into
kebs-2.0from
slick-3.5.x
Jul 20, 2024
Merged

luksow merged 6 commits into
kebs-2.0from
slick-3.5.x

Conversation

@luksow

@luksow luksow commented Jul 15, 2024

Copy link
Copy Markdown
Contributor

Slick 3.5.x support built on top of #351 by @AnthonyGrod

@luksow luksow mentioned this pull request Jul 15, 2024
@luksow
luksow merged commit 039c795 into kebs-2.0 Jul 20, 2024
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]>
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.

1 participant