Skip to content
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

Prevent Degradation of API Integration Example Code #4421

Open
italojohnny opened this issue Nov 6, 2024 · 1 comment
Open

Prevent Degradation of API Integration Example Code #4421

italojohnny opened this issue Nov 6, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@italojohnny
Copy link
Member

Feature Request

Create integration tests for code examples demonstrating backend API integration.
Screenshot 2024-11-06 at 07 46 03

Motivation

Currently, the API integration example code is versioned within the frontend codebase for convenience. However, this poses a problem as it may not always reflect the latest changes to the backend.

The proposal is to move this code to the backend and create integration tests to ensure it doesn’t degrade over time. From there, the frontend could request the example code from the backend to display it to users accurately.

Your Contribution

I believe this improvement isn't a priority, but I'd like to hear others' opinions. We could keep it on our radar for future implementation if it seems worthwhile.

@edwinjosechittilappilly
Copy link
Collaborator

This seems like a good idea.
Also, we could do the same for all the API integration codes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants