How can I make fields default to available rather ...
# singer-tap-development
a
How can I make fields default to available rather than being automatically selected?
If I understand this, any available field is automatically selected if not explicitly excluded https://gitlab.com/meltano/sdk/-/blob/main/singer_sdk/helpers/_catalog.py#L106-107
s
I'm not sure how to handle it on the tap side (haven't adjusted that before), but when running with Meltano, you can use the
select
plugin config to handle selection in a really nice way, which makes the tap defaults a little less of an issue for consumers. https://meltano.com/docs/command-line-interface.html#select
a
Thanks for the response @stephen_bailey. I think I figured out what was going on here. The API request was returning all fields, until I figured out how to filter them out based on the inclusion metadata. This was related to the API's implementation and nothing to do with meltano necessarily.
Because the fields were being returned, meltano mapped them and showed them in the stream