godaddy/kubernetes-client

Browser compatibility: make swagger-client not dependent on fs

Open

#337 ouverte le 18 oct. 2018

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)JavaScript (206 forks)batch import
help wanted

Métriques du dépôt

Stars
 (954 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

fs is currently called in the swagger client constructor: https://github.com/godaddy/kubernetes-client/blob/master/lib/swagger-client.js#L106

This causes errors in browser and makes it very difficult to construct a browser-friendly swagger client.

Guide contributeur