Alessandro Desantis

Results 26 issues of Alessandro Desantis

I just found this out the hard way. 😜 If you run the newly-introduced `rails db:truncate_all` task (e.g., because you want to re-seed your DB), it will also truncate your...

Is there a reason it is not possible to use `Uber::Options` for definition options? If I'm not mistaken, this would allow, for instance, to do the following in Reform: ```ruby...

Right now, Solidus continues to recalculate tax adjustments after an order has been finalized. This leads to some weird situations where an order's total might change after the customer has...

Needs Core Team Decision

# The problem Most of the service objects used in Solidus are configurable, so that users can easily swap them with their own implementation which either inherits from or completely...

This was born out of the discussion on https://github.com/solidusio/solidus_auth_devise/pull/173. It was originally started by @kennyadsl and completed by me. The rationale and logic are explained in the commit message for...

Related to pragmarb/pragma-operation#2. This pattern is very annoying: ```ruby options['result.response'] = Pragma::Operation::Response::NotFound .new .decorate_with(Pragma::Decorator::Error) ``` There is no reason for that `decorate_with` to exist, it's just boilerplate. If `result.response` is...

enhancement

We're starting to have a lot of ORM-dependent logic (association loading, association inclusion, record finding and pagination). Right now this logic is spread across `pragma`, `pragma-contract` and `pragma-decorator`, which means...

refactoring

https://github.com/pragmarb/pragma/wiki/Validating-query-parameters If we implemented a Schema() macro in all operations that checks whether a `schema.default` skill is present and runs validations, query parameter validation could be simplified as follows: ```ruby...

feature

This would be a gem for authentication that provides an API endpoint to generate JWT tokens and a macro to authenticate users. In addition to DRYing up authentication logic, it...

feature