-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Labels
kind/featureNew feature.New feature.status/triageCollecting information required to triage the issue.Collecting information required to triage the issue.
Description
Motivation
In ServerSentEventWithJSONData
, the generic JSONDataType
may not guaranteed to conform to Hashable
.
For example, there are a lot of packages can be found on GitHub for JsonSchema
, and they all do not conform to Hashable
.
And, the decoder or deserializer may not need Hashable constraint.
some packages list below:
- https://github.com/kylef/JSONSchema.swift/blob/master/Sources/JSONSchema.swift
- https://github.com/objecthub/swift-dynamicjson/blob/main/Sources/DynamicJSON/JSONSchema/JSONSchema.swift
Proposed solution
Remove Hashable
from ServerSentEvent
and ServerSentEventWithJSONData
.
Alternatives considered
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
kind/featureNew feature.New feature.status/triageCollecting information required to triage the issue.Collecting information required to triage the issue.