Skip to content

Conversation

@pyramation
Copy link
Contributor

Summary

Renames enableMetaApi to enableServicesApi across the codebase to better reflect the purpose of this option - it controls whether the services API (domain/subdomain routing via services_public) is enabled.

Changes:

  • Renamed enableMetaApienableServicesApi in ApiOptions interface (graphql/types)
  • Renamed API_ENABLE_METAAPI_ENABLE_SERVICES environment variable (graphql/env)
  • Renamed --metaApi--servicesApi CLI flag (packages/cli)
  • Updated middleware check in graphql/server
  • Updated all documentation and tests

Review & Testing Checklist for Human

  • Breaking change: Verify any existing deployments using API_ENABLE_META env var or enableMetaApi config option are updated to use the new names
  • Verify the CLI --servicesApi flag works correctly: cnc server --no-servicesApi should prompt for schema selection
  • Confirm the snapshot update includes an unrelated errorOutput field - this was a pre-existing change that needed syncing, not part of this rename

Test plan:

  1. Run cnc server --help and verify --servicesApi appears in the help text
  2. Run cnc server --no-servicesApi and verify it prompts for schema selection
  3. Set API_ENABLE_SERVICES=false env var and verify the server starts without services API

Notes

This rename better reflects the purpose of this option - it controls whether
the services API (domain/subdomain routing via services_public) is enabled.

Changes:
- Rename enableMetaApi to enableServicesApi in ApiOptions interface
- Rename API_ENABLE_META env var to API_ENABLE_SERVICES
- Update CLI --metaApi flag to --servicesApi
- Update all documentation and tests
@devin-ai-integration
Copy link
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@pyramation pyramation merged commit 093cc4d into main Jan 11, 2026
36 of 70 checks passed
@pyramation pyramation deleted the devin/1768097844-rename-enable-services-api branch January 11, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants