mattermost/mattermost-plugin-mscalendar

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

オープン

#326 opened on 2023/08/31

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Go (35 件のフォーク)auto 404
Hacktoberfest

Repository metrics

Stars
 (22 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

  • Remove fields that are not used, for each struct exported by the remote package.
  • Ensure that both providers are using all the fields.
  • Ensure that no removed field is being used by a provider.

コントリビューターガイド