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

Add ContentIdentifiable and use Protocol Composition #83

Merged
merged 2 commits into from
Oct 22, 2019

Conversation

Marcocanc
Copy link
Contributor

@Marcocanc Marcocanc commented Oct 22, 2019

Checklist

Description

Separate Equality (ContentEquatable) and Identification (ContentIdentifiable) components through the use of protocol composition for Differentiable

Related Issue

#80

Motivation and Context

I believe it's cleaner to have the two protocols not be interdependent.
This allows working with them on a more granular level

Impact on Existing Code

None

Sources/ContentIdentifiable.swift Outdated Show resolved Hide resolved
Sources/ContentIdentifiable.swift Outdated Show resolved Hide resolved
@ra1028
Copy link
Owner

ra1028 commented Oct 22, 2019

Thanks @Marcocanc

@ra1028 ra1028 merged commit 1453cf8 into ra1028:master Oct 22, 2019
@ra1028 ra1028 mentioned this pull request Dec 9, 2019
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.

None yet

3 participants