HSD17B12 and type 2 diabetes mellitus: In summary, our study proposes HSD17B12 as a causal gene for T2D and pancreatic β-cell function.