IntegrationAdvancedgraphqlbffmobile
Implement GraphQL API for mobile BFF layer
Real World Scenario
Mobile team wants single GraphQL query replacing 8 REST calls for home screen dashboard.
Expected Answer
• Salesforce GraphQL API ui-api endpoint for supported objects
• BFF on Heroku composing GraphQL plus external APIs if needed
• Query cost limits depth and field count
• Persisted queries allowlist production for security
• Cache CDN for public catalog queries only
• Error partial data handling mobile UI
• Version schema changes with mobile app semver coupling
Follow-Up Questions & Answers
Click to expand — each follow-up includes a direct, interview-ready answer
Main difference: use case and scale. Salesforce GraphQL API ui-api endpoint for supported objects. BFF on Heroku composing GraphQL plus external APIs if needed. Pick based on your integration pattern and team capability. GraphQL is client-shaped data—architects prevent unbounded queries with cost analysis and persisted query allowlists. Optimize for scale and operational observability.
Architect Perspective
GraphQL is client-shaped data—architects prevent unbounded queries with cost analysis and persisted query allowlists.