Layer7-Community / graphman-client

This repository contains a Postman collection, a Node.js CLI application, sample queries for the CLI, and GraphQL schemas for the Graphman API.
Other
7 stars 5 forks source link

NORALLY: implode fails for keys folder #8

Closed graju256 closed 10 months ago

graju256 commented 11 months ago

Imploding a folder containing keys fails with the below error.

graphman.bat implode --input keys --output keys.json
error encountered while processing the graphman operation, TypeError, entity.certChain.endsWith is not a function

This issue exists with 1.1 release only. certChain field of keys is a string array. Implode logic is inspecting the value as string.

Change is made to fix the problem with the additional type checking.