Closed nyalldawson closed 7 years ago
Can we not already do that now with a separate method?
I would prefer renaming it to another name anyway, using the same name with a different semantics may result in strange results which are hard to debug, no?
Wouldn't adding a separate method for this break 3rd party providers?
Just realized that it wouldn't actually change the semantics. Forget my comment.
Instead of returning an int from QgsVectorDataProvider::capabilities(), it should instead return a Capabilities QFlags class for type safety/ease of use.