Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ZEP Adapter #115

Merged
merged 2 commits into from
Jan 12, 2024
Merged

fix: ZEP Adapter #115

merged 2 commits into from
Jan 12, 2024

Conversation

alxndr13
Copy link
Contributor

  • fix: zep needs to fulfill the configurable interface
  • docs: update docs for the zep adapter

@@ -54,7 +54,7 @@ func (zep *CalendarAPI) Name() string {
return "ZEP CalDav API"
}

func (zep *CalendarAPI) Initialize(ctx context.Context, calendarID string, config map[string]interface{}) error {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would really be useful if an adapter implementation could import the adapter package, then would could simply assert that the adapter implements the Configurable interface using var _ adapter.Configurable = &CalendarAPI{}. But unfortunately that ends with an import cycle.

I'll try to come up with a solution later on -> separate PR.

@alxndr13 alxndr13 merged commit ef16773 into main Jan 12, 2024
5 checks passed
@alxndr13 alxndr13 deleted the fix-zep-adapter branch January 12, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants