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

Basic support for Slick 3.5.x #378

Merged
merged 6 commits into from
Jul 20, 2024
Merged

Basic support for Slick 3.5.x #378

merged 6 commits into from
Jul 20, 2024

Conversation

luksow
Copy link
Contributor

@luksow luksow commented Jul 15, 2024

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
4 checks passed
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 <agrodowski@iteratorshq.com>
Co-authored-by: Antoni Grodowski <53835371+AnthonyGrod@users.noreply.github.com>
Co-authored-by: Paweł Kiersznowski <pkiersznowski@iterato.rs>
Co-authored-by: pkiersznowski <pkiersznowski@iteratorshq.com>
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.

None yet

1 participant