Open rosen-kanev opened 12 months ago
Potentially weird Q: Is there overlap with this PR and this one? #394
When I stumbled upon the missing description I looked around the existing issues and PRs and did try #394 locally. The description is missing there too (though it would've been a very elegant bugfix if it was just a shallow copy 😅 )
The fix in the commit #b89944ea8c4e9709c33491a87f80c81f7d378aeb works so far. Would it be possible to get this quick merged and released?
Can I do something?
@crutchcorn I don't like generating extra noise unless necessary, but in case you have your notifications turned on only for mentions.
Are there plans to merge this fix in the near future?
Any update on this?
When loading generators from external plop files with
plop.load(path)
theirdescription
was being lost. The root cause is that theproxy
object that we're passing tosetGenerator()
doesn't have adescription
property, which judging by the rest of the code is by design.I did contemplate an alternative fix - to add the
description
in thesetGenerator
function like so:but IMO the patch should be where the external plop file is loaded.
This PR fixes the missing
description
logged in #247.Aside: @piersolenski observed that
setWelcomeMessage()
also is being lost, but I don't think it's a good design to allow the loaded files to change it.