superposition icon indicating copy to clipboard operation
superposition copied to clipboard

feat: Add DisplayQuery proc_macro_derive

Open ayushjain17 opened this issue 9 months ago • 0 comments

Problem

Similar Display trait being written over and over for different struct for converting the struct to query param format. This often leads to confusion as to why a field is missed as it might not have been added in the implementation of the Display trait

Solution

Added DisplayQuery proc_macro_derive which derives the Display trait for the struct to get the desired query param. It being auto generated makes sure that newly added fields get auto added to the Display trait's implementation

ayushjain17 avatar Apr 27 '25 18:04 ayushjain17