Ismael Celis

Results 7 issues of Ismael Celis

Klass.destroy(instance, callback) and Klass.save(instance, callback). No API deprecations. Instance#destroy() and Instance#save() just delegate to class. Motives: allows me to save a model as part of a different collection, using the...

Hi. I wrote the [Oat](https://github.com/ismasan/oat) gem a while ago as a media-type adapter layer that allows your code to declare resource properties at the message-level. Blog post and rationale here:...

## What Add a `.maybe(type_policy)` method that will return `nil` if the value is `nil`, or coerce to the configured type otherwise. ```ruby schema = Parametric::Schema.new do field(:age).maybe(:integer) end schema.resolve(age:...

Allow passing callables as per-field mapping filters ```ruby name_with_title = ->(name) { "Mr. #{name}" } # or anything that responds to `#call(value)`. map from('/name'), to('/name', filter: name_with_title ) ```

## Make schema definitions inspectable So we can generate example documentation our of them.

It should not be needed.

This is more of a question than an issue: I wonder how hard it would be to make `MagickImage` comply with the `image.Image` interface in the image stdlib package? The...