Comments (3)
@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.
@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.
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)
- Release 0.2.0 HOT 2
- Add documentation for how to convert to a domain object HOT 7
- Make it easier to append parameters
- Override response handlers HOT 2
- Dataset should produce it's own URL HOT 1
- Provide basic JSON response handler
- Allow for multiple paths
- Syntax error when trying the extension example on Ruby 2.2 HOT 1
- Error when running the extending example on Ruby 2.3 HOT 1
- use schema plugin from rom core HOT 1
- Using input and output schemas in the gem HOT 3
- Release v0.6.0 has the wrong 'rom' dependency HOT 2
- Inferring schemas HOT 2
- Combining data with sql relations HOT 2
- Possibility to set up config in relation's definition HOT 2
- Document creating an adapter more thoroughly HOT 6
- Add support for `meta` in dataset HOT 8
- Don't create schema every time it is applied HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rom-http.