rein icon indicating copy to clipboard operation
rein copied to clipboard

Allow toggling extra features

Open krainboltgreene opened this issue 6 years ago • 4 comments

create_view somehow overwrites the scenic gem's version, which is better.

krainboltgreene avatar Jul 02 '18 08:07 krainboltgreene

I agree that it would be nice to use just rein's constraint features. Views don't seem to match the spirit of the gem suggested by the name, and scenic is more full-featured there. @nullobject if you'd like a PR for this I could write something that lets you supply some configuration to enable/disable different bundles of methods, like views, constraints, schemas, and enums, defaulting to everything enabled. Just let me know!

pjungwir avatar Jul 06 '18 19:07 pjungwir

The other option is to just be as good as scenic (or better) at view management.

On Fri, Jul 6, 2018, 12:19 PM Paul A Jungwirth [email protected] wrote:

I agree that it would be nice to use just rein's constraint features. Views don't seem to match the spirit of the gem suggested by the name, and scenic is more full-featured there. @nullobject https://github.com/nullobject if you'd like a PR for this I could write something that lets you supply some configuration to enable/disable different bundles of methods, like views, constraints, schemas, and enums, defaulting to everything enabled. Just let me know!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nullobject/rein/issues/41#issuecomment-403124183, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUb2VHRwBa1QB8g6iMP8YWpBx3miNjBks5uD7hIgaJpZM4U-4jQ .

krainboltgreene avatar Jul 06 '18 19:07 krainboltgreene

Hey there, any updates on this?

We've also faced this issue and for now decided to maintain our own fork without views.

How about extracting it to rein-views gem so everyone who wants to keep using it instead of scenic will continue to use it.

Or make rein a metagem like fog and move the actual logic to separate gems rein-constrants, rein-enums etc

toydestroyer avatar Aug 17 '20 06:08 toydestroyer

Been a couple of years, any further thoughts on this @nullobject? It does hamper using other tools like scenic.

hlascelles avatar Nov 14 '22 17:11 hlascelles