Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Reflect Validation Script #6426

Merged

Conversation

brianjohnson5972
Copy link
Contributor

Change Description

Added a script to validate that FC_REFLECT and FC_REFLECT_ENUM macro uses are consistent with their class definitions.

Consensus Changes

N/A

API Changes

N/A

Documentation Additions

N/A (This is a script for internal development and not for general use, so the documentation in the file is sufficient)

…FC_REFLECT_ENUM to verify order and completeness. Supports comments with @swap to support different order from definition and @ignore to ignore a specific field for reflection.  Still need to support FC_REFLECT_DERIVED. GH EOSIO#3127
tools/validate_reflection.py Outdated Show resolved Hide resolved
tools/validate_reflection.py Outdated Show resolved Hide resolved
tools/validate_reflection.py Outdated Show resolved Hide resolved
tools/validate_reflection.py Outdated Show resolved Hide resolved
tools/validate_reflection.py Show resolved Hide resolved
tools/validate_reflection.py Outdated Show resolved Hide resolved
tools/validate_reflection.py Outdated Show resolved Hide resolved
tools/validate_reflection.py Outdated Show resolved Hide resolved
tools/validate_reflection.py Outdated Show resolved Hide resolved
tools/validate_reflection.py Outdated Show resolved Hide resolved
@brianjohnson5972 brianjohnson5972 merged commit f8a2127 into EOSIO:develop Dec 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants