billy1kaplan

Results 6 comments of billy1kaplan

As a temporary workaround, can probably add this class to `todo.rbi`.

Thank you for the review! I'll try to create an iteration on this early next week. I also saw the comment here: https://github.com/chanzuckerberg/sorbet-coerce/issues/71#issuecomment-1220909337 and will make this an optional, opt-in...

@GCHQDeveloper926 do you have more info on the workaround for this?

Looking at the code: https://github.com/mvz/happymapper/blob/a650cecc262c0afcd8012cd5da1665e076abd4da/lib/happymapper.rb#LL92C33-L92C33 This might be as simple as changing: ```ruby @registered_namespaces.merge!(name => href) ``` to ```ruby @registered_namespaces[name] = href ```

This might be a bit trickier than I thought, e.g. which of these is coerced to? Maybe the user would need to supply the type of the struct in order...

@donaldong @mattxwang thank you both for the detailed replies! I'm happy to take a shot at this hopefully within the next week or so. My understanding of a possible approach...