rspec-expectations icon indicating copy to clipboard operation
rspec-expectations copied to clipboard

Allow to define custom differ object in matchers

Open sponomarev opened this issue 6 years ago • 5 comments

The questions about custom differ already appeared in the past in #627, #97. I think it could be valuable to allow custom differ objects in matchers.

The proposed solution should be completely backward compatible. And, I hope, will provide a way to extend custom RSpec matchers libraries.

sponomarev avatar Jan 16 '19 21:01 sponomarev

Would you be interested in taking another approach to the problem @sponomarev ?

pirj avatar Jan 11 '20 15:01 pirj

I am interested to work on this if @sponomarev can not, after I finish the task on documentation and yard. https://github.com/rspec/rspec.github.io/pull/131

benoittgt avatar Jan 14 '20 21:01 benoittgt

@pirj Yeah, for sure. I'll take care of it this week. @benoittgt thanks for the offer, I think I'll deal with it on my own =)

sponomarev avatar Jan 15 '20 07:01 sponomarev

@sponomarev A friendly reminder

pirj avatar Jun 11 '20 08:06 pirj

@sponomarev Little bump on this one 😊

benoittgt avatar Sep 25 '20 22:09 benoittgt

I'm closing this as part of the monorepo migration, we are interested in a pluggable differ overall but this isn't the right approach.

JonRowe avatar Nov 30 '24 11:11 JonRowe