Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document schema namespace search order #50

Open
TethysSvensson opened this issue Jan 9, 2022 · 0 comments
Open

Document schema namespace search order #50

TethysSvensson opened this issue Jan 9, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@TethysSvensson
Copy link
Collaborator

Suppose you have the following three files:

# In events.fbs
namespace Events;
enum Event { HOUSE_ON_FIRE, ... }
# In kitchen_events.fbs
namespace Kitchen.Events;
enum Event { OUT_OF_BUTTER, ... }
# In kitchen.fbs

include "events.fbs";
include "kitchen_events.fbs";

namespace Kitchen;

table KitchenState {
    eventlog: [Events.Event];
}

We need to document which of the two enums the eventlog refer to and whether we do the same thing as upstream.

@TethysSvensson TethysSvensson added the documentation Improvements or additions to documentation label Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant