Return valid_target_types
for each column in RPC columns.list
#3706
Labels
ready
Ready for implementation
restricted: maintainers
Only maintainers can resolve this issue
work: backend
Related to Python, Django, and simple SQL
Milestone
In he REST API, I could GET http://localhost:8000/api/db/v0/tables/5796/columns/ and receive a response where each column object had a
valid_target_types
value that would either benull
or an array like this:The front end needs this data for each column. Can we implement it with the
columns.list
RPC method?@mathemancer @Anish9901 I've labeled this issue
needs: backend approval
so that one or both of you can confirm that this makes sense. I don't know if there make have been a good reason for omitting this functionality from the RPC API. Heck, I wouldn't be surprised if I even said we didn't need it at some point (shrug)! But it's pretty clear to me that it's going to be hard to work around this omission in the front end. Were we designing the API from scratch, I could see an argument for putting this data in a separate RPC method. But I think that would be too time consuming on the front end right now.I need this fixed soon since it's blocking my progress on the table page. Is this something Anish could pick up perhaps?
The text was updated successfully, but these errors were encountered: