Improve support for selected-by-default option on Property
This PR is mostly driven by https://github.com/MeltanoLabs/tap-github/issues/34 for which I proposed to use selected-by-default: false in the catalog.
The SDK does not seem to provide a way to actually set this value on the catalog, so this PR aims to fix that.
It is not quite complete however, as the option does not seem to be correctly handled by the tap (unless I've misunderstood what it should do). My understanding based on the singer spec:
- if
selected-by-defaultis set but notselectedon a field, the former will effectively play the role of the latter. - if
selectedis set, thenselected-by-defaultis ignored. Does this align with how you understand it?