Open evmin opened 7 years ago
Hi @evmin, I trust you but I don't understand yet how it would work with indexed values... I would need to test
Rather than deleting
the existing writeQueryResult(...)
method, I am thinking about introducing an OutputWriterV2
interface with this new writeQueryResult(...)
and deprecating OutputWriterV1
to let people have to change their code.
Could you initiate a branch as a PR?
I might have missed the specifics of the indexed values - thank you for pointing it out.
Also, I like the v2 API idea as v2 opens up for possibility of other potential improvements:
It sounds a bit more invasive though than just retrofitting one method. Would you like to map out the new interface yourself or you are OK with me just start on the new branch (I am just mindful that I might not be aware of all specifics, see the indexed values above)?
@evmin could you initiate the work on a PR? Maybe it will be the opportunity to cut a v2.0 of the plugin.
This is an enhancement request.
It would be so much easier to further develop the API if the OutputWriter interface method
Could be replaced with
In that case the backward incompatible changes to the API (such as including extra fields, which are required by the new Writers) would be so much easier to implement.
Happy to assist with rewriting.