[JAVA-3921] Refined Lib Support Created: 30/Dec/20  Updated: 27/Oct/23  Resolved: 18/Jan/21

Status: Closed
Project: Java Driver
Component/s: JSON, Scala
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Diogo Leite Assignee: Ross Lawley
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Main goal:

Add support for Refined Lib on mongoDB scala driver

 

Motivation:

With the implementation of case class "property limitations" to better manage what shouldn't and shouldn't be handled, processed and stored on a mongo DB. Said "limitations" are put in place with the use of the aforementioned lib.

Though custom codecs where used to try to handle the conversion between scala types and BSON types, the refined predicates prove to be a challenge with them not being correctly disregarded on the codec.



 Comments   
Comment by Backlog - Core Eng Program Management Team [ 18/Jan/21 ]

There hasn't been any recent activity on this ticket, so we're resolving it. Thanks for reaching out! Please feel free to comment on this if you're able to provide more information.

Comment by Ross Lawley [ 04/Jan/21 ]

Hi diogo@projectmanagementassociates.com,

Thanks for the ticket. The Scala driver has minimal 3rd party dependencies and as such adding explicit support for external libraries wouldn't be something we'd look to normally support. You mention custom codecs I think this is likely the best route however, I'm not familiar with the refined library to be able to provide more insight.

Kind Regards,

Ross

Generated at Thu Feb 08 09:00:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.