teable icon indicating copy to clipboard operation
teable copied to clipboard

Question about View schema

Open kpodp0ra opened this issue 1 year ago • 1 comments

Quick question, can I safely delete pluginId from view schema?

https://github.com/teableio/teable/blob/3bdb38fdb46d0dc6d62f6976d11ff91a6cd9c01f/packages/core/src/models/view/view.schema.ts#L55

I checked code real quick and plugin view always uses /options.pluginId (green) property, so I think /pluginId (red) isn't used anywhere.

kpodp0ra avatar Dec 06 '24 06:12 kpodp0ra

Yes, this is a property that was inadvertently left in Request Object. Currently, the create view endpoint should not be used to directly create plugin views, as there is a separate dedicated endpoint being used for plugin view creation.

boris-w avatar Dec 06 '24 07:12 boris-w