Skip to content

Connector Generation - no templating #6

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

Open
mergebandit opened this issue Dec 20, 2024 · 1 comment
Open

Connector Generation - no templating #6

mergebandit opened this issue Dec 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mergebandit
Copy link
Contributor

Describe the bug
In the (template readme)[https://github.com/apollographql/connectors-community/blob/main/connectors/.template/README] file, there's a placeholder for {{TEMPLATE}} (which is actually invalid syntax, as whats in there is actually {TEMPLATE}}.

It doesn't appear the (generator)[https://github.com/apollographql/connectors-community/blob/main/file-new/index.js] has any support for templating, or I'd fix this an offer a PR. Do you have plans for this?

To Reproduce
Steps to reproduce the behavior:

  1. Execute npm start & fill out prompts
  2. Newly created connectors//readme will have # {TEMPLATE}} REST Connector as the title

Expected behavior
The title will be updated to eg Heygen REST Connector

Screenshots
image

@mergebandit mergebandit added the bug Something isn't working label Dec 20, 2024
@michael-watson
Copy link
Collaborator

I actually didn't put a great "contributor" path in this, I have been working on that since you opened this issue. I'll have a branch for you to test out 🔜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants