sev-2 / raiden

A Framework for Supabase
MIT License
24 stars 2 forks source link

feat: sort attributes to produce consistent values #63

Closed toopay closed 2 months ago

toopay commented 2 months ago

Description

Currently, raiden imports can produce code diffs caused by the ordering of model relations or imported libraries. Sorting them will prevent this.

Screenshot 2024-09-08 at 11 23 11

Type of change

Checklist

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Flag Coverage Δ
-race 71.94% <100.00%> (-0.01%) :arrow_down:
-tags "sonic avx" 71.91% <100.00%> (-0.02%) :arrow_down:
-tags go_json 71.94% <100.00%> (-0.05%) :arrow_down:
-tags nomsgpack 72.01% <100.00%> (+0.05%) :arrow_up:
go-1.21 71.23% <100.00%> (-0.02%) :arrow_down:
go-1.22 71.99% <100.00%> (+<0.01%) :arrow_up:
macos-latest 72.01% <100.00%> (+0.04%) :arrow_up:
ubuntu-latest 71.96% <100.00%> (-0.01%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
pkg/generator/model.go 79.26% <100.00%> (+0.38%) :arrow_up:
pkg/generator/rpc.go 76.13% <100.00%> (+0.06%) :arrow_up:

... and 1 file with indirect coverage changes