Giter VIP home page Giter VIP logo

Comments (4)

ruippeixotog avatar ruippeixotog commented on September 25, 2024

Hi @mdedetrich, can you provide some example code where the error occurs? I'm having trouble reproducing this issue.

from pureconfig.

jcazevedo avatar jcazevedo commented on September 25, 2024

I believe it's the same thing that prompted the inclusion of this in the example build (during #783).

@mdedetrich: I didn't try that yet, but I thought that nowarn annotation would have to be placed in shapeless (since it's the encoding of Lazy that's issuing the warning).

from pureconfig.

mdedetrich avatar mdedetrich commented on September 25, 2024

@jcazevedo Regarding the @nowarn annotation it may be the case that it has to actually be placed in shapeless (I am not too familiar with internals of Pureconf)

@ruippeixotog Here is an example https://github.com/aiven/guardian-for-apache-kafka/blob/main/core/src/main/scala/io/aiven/guardian/kafka/Config.scala#L11-L14

from pureconfig.

Philippus avatar Philippus commented on September 25, 2024

Following https://www.scala-lang.org/2021/01/12/configuring-and-suppressing-warnings.html, I've added the following in my project to suppress these warnings only for the location where I use pureconfig.

Compile / scalacOptions += "-Wconf:site=my-package.Settings.*&cat=lint-byname-implicit:s",

from pureconfig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.