Skip to content

Conversation

@benedeki
Copy link
Contributor

@benedeki benedeki commented Jun 29, 2023

  • Introduced slick-pg optional dependency to increase the number of supported types
  • created a Slick profile to use the Slick-pg types (most of them)
  • added implicits to use with UUID type
  • SlickPgFunction and SlickPgFunctionWithStatusSupport traits were renamed to SlickFunction and SlickFunctionWithStatusSupportas they are not really Postgres dependent
  • added new alternative constructor to DBSchema and DBFunction
  • integration test verifying Postgres specific type submission and extraction
  • extended README.md to contain info on Slick module

Kept the Slick version as is, as it's the last one supporting Scala 2.11 and now is not the time to deal with version juggling. For same reason the Slick-pg is also not the latest version, but the one built for the used Slick

Depends on #46

Closes #43

benedeki added 2 commits June 15, 2023 14:04
* Introduced slick-pg optional dependency to increase the number of supported types
* created a Slick profile to use the Slick-pg types (most of them)
* added implicits to use with UUID type
* `SlickPgFunction` and `SlickPgFunctionWithStatusSupport` traits were renamed to `SlickFunction` and `SlickFunctionWithStatusSupport`as they are not really Postgres dependent
* added new alternative constructor to `DBSchema` and `DBFunction`
* extended `README.md` to contain info on Slick module
@github-actions
Copy link

github-actions bot commented Jun 29, 2023

JaCoCo code coverage report - scala 2.11.12

File Coverage [19.85%]
DBSchema.scala 66.67%
DBFunction.scala 30.18%
SlickFunction.scala 0%
SlickFunctionWithStatusSupport.scala 0%
FaDbPostgresProfile.scala 0%
PgUUIDSupport.scala 0%
Total Project Coverage 48.81% 🍏

@github-actions
Copy link

github-actions bot commented Jun 29, 2023

JaCoCo code coverage report - scala 2.12.17

File Coverage [16.84%]
DBSchema.scala 62.12%
DBFunction.scala 21.34%
SlickFunction.scala 0%
SlickFunctionWithStatusSupport.scala 0%
FaDbPostgresProfile.scala 0%
PgUUIDSupport.scala 0%
Total Project Coverage 48.96% 🍏

@benedeki benedeki added the dependent The item depends on some other open item (Issue or PR) label Jun 29, 2023
@benedeki benedeki requested a review from TebaleloS June 29, 2023 08:20
…test (#46)

* test for `FaDbPostgresProfile`
* test changed into integration test
* added test for NULL/Option verification of types
* fixed Option[UUID] parameter setting
@benedeki benedeki removed the dependent The item depends on some other open item (Issue or PR) label Jun 29, 2023
@benedeki
Copy link
Contributor Author

@benedeki benedeki requested a review from filiphornak June 29, 2023 23:18
Copy link
Contributor

@miroslavpojer miroslavpojer left a comment

Choose a reason for hiding this comment

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

  • pulled
  • built
  • code review done
  • run unit tests
  • installed postgres
  • integration tests

jakipatryk
jakipatryk previously approved these changes Jun 30, 2023
Copy link
Contributor

@jakipatryk jakipatryk left a comment

Choose a reason for hiding this comment

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

LGTM (just checked the code).

@benedeki benedeki merged commit c2b8348 into master Jun 30, 2023
@benedeki benedeki deleted the feature/43-upgrade-slick-version-and-add-slick-pg-dependency branch June 30, 2023 12:55
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.

Upgrade Slick version and add Slick-pg dependency

4 participants