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
    
  
  
    
  | import cats.effect.IO | |
| import io.circe.Encoder | |
| import io.circe.generic.semiauto.deriveEncoder | |
| import io.circe.java8.time.encodeZonedDateTimeDefault | |
| import io.circe.syntax.EncoderOps | |
| import org.bson.{BsonReader, BsonType, BsonWriter} | |
| import org.bson.codecs.{DecoderContext, Codec, EncoderContext} | |
| import org.bson.codecs.configuration.{CodecConfigurationException, CodecRegistries} | |
| import org.mongodb.scala.MongoClient | |
| import org.mongodb.scala.bson.codecs.{DEFAULT_CODEC_REGISTRY, Macros} | 
  
    
      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
    
  
  
    
  | val scalacOptions = Seq( | |
| "-encoding", | |
| "utf-8", // Specify character encoding used by source files. | |
| "-Ybackend-parallelism", // | |
| "8", | |
| "-explaintypes", // Explain type errors in more detail. | |
| "-feature", // Emit warning and location for usages of features that should be imported explicitly. | |
| "-unchecked", // Enable additional warnings where generated code depends on assumptions. | |
| "-Xcheckinit", // Wrap field accessors to throw an exception on uninitialized access. | |
| // "-Ymacro-annotations", // Enable support for macro annotations, formerly in macro paradise. |