@NedFodder said in Are there any roadmap about nodebb's new version ?:
thanks, got it
filter:topic.build
(that's a link btw)
@julian showing off your markdown skills?
Can I use this hook filter:controllers.topic.get
instead of filter:topic.build
so I can filter the topics before all the additional processing happens?
If I can use filter:controllers.topic.get
, can you add the logged in users uid to the data passed in to the hook?
@pichalite said:
If I can use filter:controllers.topic.get, can you add the logged in users uid to the data passed in to the hook?
Feel free to submit a PR for this. Instead of passing in topicData
, pass it in an object.
It's a breaking change, so, in for a penny, in for a pound, look for all other filter:controller...
type hooks and make the same change.
When it gets merged, then you can post it in @baris' breaking changes thread
@julian Whaaaaaat???
I will try to submit a PR. It's probably better to do a breaking change before v1.0.0