Last active
          April 17, 2020 11:54 
        
      - 
      
- 
        Save Naoray/91efb48fca1642800f5c7ddda652c454 to your computer and use it in GitHub Desktop. 
    Ideas on how to add addon's definition to blueprint
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | models: | |
| Post: | |
| author_id: id:user | |
| # other field definitions | |
| Comment: | |
| post_id: id | |
| addons: | |
| nova: | |
| Post: | |
| author: searchable | |
| Comment: | |
| post: searchable | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | models: | |
| Post: | |
| author_id: id:user | |
| # other field definitions | |
| Comment: | |
| post_id: id | |
| # other field definitions | |
| nova: | |
| Post: | |
| author: searchable | |
| Comment: | |
| post: searchable | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | models: | |
| Post: | |
| author_id: id:user searchable | |
| # other field definitions | |
| Comment: | |
| post_id: id searchable | |
| # other field definitions | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
The easiest for the addon devs would be to simply merge their definitions with the original blueprint definitions like adding a
searchableto the field definition draft.yaml. This would most likely cause a lot of confusion and probably errors from theblueprint:buildcommand.The other ideas are hopefully self-explanatory.