Skip to content

Shouldn't this just be T? #3

Description

@jbehrens94

This should probably be T instead of String used as a generic parameter.

Example:

enum Result<T> {
  case success(T)
  case failure(String)
}

https://github.com/Mackis/NetworkLayer/blob/554b0d15e9b0bea9a88b10546826f4d2f7653ae3/NetworkLayer/Networking/Manager/NetworkManager.swift#L21

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions