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

Allow different implementations for server versions #74

Conversation

maximilianruesch
Copy link
Collaborator

Allows to create different implementations for different server versions. Also gives an example implementation for an API endpoint that changed.

@trueliquid trueliquid mentioned this pull request Nov 29, 2023
…nt-different-implementations-for-server-versions
Base automatically changed from task/fix-create-issue-for-server to main December 5, 2023 22:05
…-for-server-versions

# Conflicts:
#	electron/providers/jira-server-provider/JiraServerProvider.ts
#	electron/providers/jira-server-provider/server-types.ts
@maximilianruesch maximilianruesch marked this pull request as ready for review December 5, 2023 22:07
Copy link
Collaborator

@aymka aymka left a 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")
Copy link
Collaborator

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

Copy link
Collaborator

@aymka aymka left a 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

@maximilianruesch maximilianruesch merged commit 41281cc into main Dec 6, 2023
8 checks passed
@maximilianruesch maximilianruesch deleted the refactor/implement-different-implementations-for-server-versions branch December 6, 2023 10:36
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