HaxeFoundation / HaxeFoundation/record-macros

Ensure table contains all fields

Open
#64 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
48
Forks
25
PR merge metrics
No merged PRs in 30d

Description

It is common to use if not table exist create table in beginning of main.

#1 It is a little redundent, would like to have a single purpose function ensureTable
#2 when delivering an update, it is sometimes breaking code with existing tables, that need to be manually created.

I would suggest to make a function that can ensure to its best the table is ready for the current class.

I remeber this feature from the suneido project https://suneido.com/ had a function ensure, I couldn't find the docs right now

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.