GraphQLify: Automated and Type Safety-Preserving GraphQL API Adoption
Saleh Amareen, Arif Rahman, Sazzadur Rahaman, Amiangshu Bosu

TL;DR
GraphQLify is an automated framework that converts REST APIs to GraphQL with guaranteed type safety and improved performance by generating embedded servers, evaluated on 834 APIs with perfect success.
Contribution
It introduces a novel static analysis-based method for precise, type-safe GraphQL schema generation directly from existing REST API source code.
Findings
Successfully converted 100% of APIs with zero type mismatches.
Outperformed OASGraph with lower failure and mismatch rates.
Reduced data fetching time by 2 to 4 times in multi-call workflows.
Abstract
GraphQL provides a schema-based, strongly typed query language that enables highly efficient client-server communication. This paper introduces GraphQLify, an automated framework designed to migrate existing REST APIs to GraphQL. Unlike prior approaches that rely on relational databases, resource description frameworks (RDF), or machine-parsable specifications, GraphQLify leverages static source code analysis for precise type inference. This novel technique generates GraphQL schemas that guarantee end-to-end type safety, preserving a core advantage of adopting GraphQL. Furthermore, existing migration tools typically generate separate adapter servers, which introduce performance overhead via dynamic request binding and network latency. GraphQLify eliminates this by generating an embedded server that directly invokes the underlying API code, significantly improving performance. We…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
