Giter VIP home page Giter VIP logo

Comments (3)

htcarr3 avatar htcarr3 commented on July 30, 2024 1

@solnic / @flash-gordon, I wanted to check in on this. I'm running into a similar issue (where the APII am integrating with does not always return the full set of possible params on all requests to the same resource). dry-initializer and dry-schema support something similar to this already, I can work on a PR if this is still a possibility.

from rom-http.

solnic avatar solnic commented on July 30, 2024

@flash-gordon 👋🏻 just wanted to double-check with you - this makes perfect sense, right? We could follow the same convention as you introduced in dry-struct, so just adding attribute? and handle it as expected would do the trick. WDYT?

from rom-http.

htcarr3 avatar htcarr3 commented on July 30, 2024

As a somewhat philosophical point, since external API schemas are out of the control of the API wrapper library, it might make more sense if all attributes were assumed optional, or at least if there could be a ROM config to set this.

from rom-http.

Related Issues (19)

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.