Comments (3)
Thanks for sharing this. I can see how this could be handy but the plan is actually to have "form objects" rather than using AR validation.
In the future please start a thread on our forum with a feature proposal rather than reporting an issue. We use issues for bug reports and approved feature requests only.
from dry-rails.
@solnic itβs useful in many cases so adding this to maybe a documentation will save a lot of people time.
from dry-rails.
@gotar it's not in line with the concept of validating data before passing to models, because of this it cannot be even documented, despite being handy in some cases. I'm not saying it's inherently wrong to handle validation like that, we just shouldn't document how to do something that doesn't follow architectural patterns we've been promoting for few years now.
from dry-rails.
Related Issues (20)
- Unable to change config.root HOT 3
- Import constant name would be configurable HOT 3
- Key-based Import doesn't get stubbed HOT 5
- Dependency is not registered when namespace is non-standard named HOT 7
- Container constant to be configurable HOT 6
- cannot define multiple schemas in one controller (safe params) HOT 1
- safe_params are empty in ApplicationController before_action
- Using dry-system's settings raises am undefined method `env' for Dry::Configurable::Config exception HOT 2
- Application container not reloading nested dependencies in Rails Console on Rails 6?
- Confusing docs about throw(:abort) HOT 4
- Dry-Rails + ActionController::API HOT 3
- Does not work with dry-system 0.18.0 HOT 4
- Application container not to be finalized in test env
- Transforming request parameters for the `safe_params` feature
- Add application template HOT 2
- `fetch': key not found: :path (KeyError) HOT 8
- Injection issue in rails 7 & ruby 3.1 HOT 10
- Got FrozenError after dry-core upgrade to 0.9.1 HOT 11
- Please update `dry-system` to `~> 1.0` 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 dry-rails.