-
Notifications
You must be signed in to change notification settings - Fork 2
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
Allow different implementations for server versions #74
Allow different implementations for server versions #74
Conversation
…nt-different-implementations-for-server-versions
…nt-different-implementations-for-server-versions
…-for-server-versions # Conflicts: # electron/providers/jira-server-provider/JiraServerProvider.ts # electron/providers/jira-server-provider/server-types.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 change needed but nonetheless, very good
reject(new Error(`Error in fetching labels: ${JSON.stringify(error)}`)) | ||
) | ||
}) | ||
throw new Error("Method not implemented for Jira Server") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getLabels() not implemented in this version and throws error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated correctly, ready for merge
Allows to create different implementations for different server versions. Also gives an example implementation for an API endpoint that changed.