mattermost / mattermost-plugin-mscalendar

Mattermost plugin for Microsoft Office365
Apache License 2.0
13 stars 20 forks source link

Review the `remote` package structs and trim them to contain only the fields that are being used #326

Open fmartingr opened 10 months ago

fmartingr commented 10 months ago

The structs in the remote package are generally derived from the msgraph data model. The conversion of remote package structs to provide google calendar structs are generally incomplete, as we only translate the fields that are necessary for use.

The task here is remove fields that are not used, for each struct exported by the remote package. This way, there is no chance that the gcal → remote conversions are missing a necessary field. We also need to verify that the conversions handle all of the fields being used.

Acceptance criteria