EUVIMEDOpdag EUVIMED
Open access · CC BY-NC-ND 4.0

GraphQLify: Automated and Type Safety-Preserving GraphQL API Adoption

Saleh Amareen, Arif Rahman, Sazzadur Rahaman, Amiangshu Bosu

Proceedings of the ACM on Software Engineering · 2026-06-30 · 3 (FSE) · 299-320

DOI: 10.1145/3797141 ↗

At a glance

Journal article in Proceedings of the ACM on Software Engineering, published online on 2026-06-30. Written by Saleh Amareen and 3 co-authors. 47 references. The full text is freely available (open access, CC BY-NC-ND 4.0).

AbstractBibliografiske oplysningerCiteRelated studies

Abstract (original language)

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 evaluated GraphQLify on 834 APIs across nine popular open-source projects, where it successfully converted 100% of the APIs with zero type mismatches. In contrast, the current state-of-the-art tool, OASGraph, exhibited a 3.5% failure rate and a 42% type mismatch rate on the same dataset. Finally, our performance evaluation demonstrates that for workflows requiring five sequential API calls, clients using GraphQLify reduce data fetching time by a factor of 2 to 4 compared to their REST counterparts.

Cite

APA

Amareen, S., Rahman, A., Rahaman, S., & Bosu, A. (2026). GraphQLify: Automated and Type Safety-Preserving GraphQL API Adoption. Proceedings of the ACM on Software Engineering, 3(FSE), 299-320. https://doi.org/10.1145/3797141

Vancouver

Amareen S, Rahman A, Rahaman S, Bosu A. GraphQLify: Automated and Type Safety-Preserving GraphQL API Adoption. Proceedings of the ACM on Software Engineering. 2026;3(FSE):299-320. doi:10.1145/3797141

BibTeX
@article{Amareen2026,
  author = {Amareen, Saleh and Rahman, Arif and Rahaman, Sazzadur and Bosu, Amiangshu},
  title = {GraphQLify: Automated and Type Safety-Preserving GraphQL API Adoption},
  journal = {Proceedings of the ACM on Software Engineering},
  year = {2026},
  volume = {3},
  number = {FSE},
  pages = {299--320},
  doi = {10.1145/3797141}
}
Start for free →